Click to See Complete Forum and Search --> : JavaScript Fullscreen and Netscape 4x to 7x


jamman65
03-13-2003, 03:37 PM
Howdy,

I have a website that is using some simple JavaScript to perform an "open full screen" effect when the user hits the following page;

http://www.seemyimage.com/main_frame.htm

The script is as follows;

<!-- Begin
if (this.name!='fullscreen'){
window.open(location.href,'fullscreen','fullscreen,scrollbars')
}
// End -->
</script>

Here's the problem... The script works great in IE and Netscape 7.0. However the script apparently does not work in versions of Netscape lover then 7.0 and I don't know why? My client is using Netscape 6.0 and even though his “Java” is enabled in the browser preferences it won't work for him on his end?

Can anyone help this new-be (that's me) figure out if I can code the Java to work in Netscape 6.0 or lower? Or if you could point me in the right direction I would be grateful.

Thanks for your time.

James

jdavia
03-13-2003, 04:27 PM
Originally posted by jamman65
Howdy,

I have a website that is using some simple JavaScript to perform an "open full screen" effect when the user hits the following page;

http://www.seemyimage.com/main_frame.htm

The script is as follows;

<!-- Begin
if (this.name!='fullscreen'){
window.open(location.href,'fullscreen','fullscreen,scrollbars')
}
// End -->
</script>

Here's the problem... The script works great in IE and Netscape 7.0. However the script apparently does not work in versions of Netscape lover then 7.0 and I don't know why? My client is using Netscape 6.0 and even though his “Java” is enabled in the browser preferences it won't work for him on his end?

Can anyone help this new-be (that's me) figure out if I can code the Java to work in Netscape 6.0 or lower? Or if you could point me in the right direction I would be grateful.

Thanks for your time.

James

There is no way to get around this. 4.7 version of Netscape will always show its Title bar. And it will always show Netscape on it. But you can add the maximum text to it, as a message, using your HTML pages <title> Text message here - Netscape </title>

jamman65
03-13-2003, 04:51 PM
Thanks for the reply jdavia!

I understand what your saying and its not a problem for the title bar to appear (I should have been more clear in my first post)

The page is in frames and when viewed in Netcape 4x to 6x the Java does not work as it does in IE or Netscape 7.0.

In other words when viewed with Netcape 4x to 6x you see the scroll bars, etc. as the full screen does not work.

Are you saying that Netcape 4x to 6x will not display the page as it will in IE and Netscape 7.0? Is it a browser limitation?

Thanks again jdavia, I appreciate the reply and assistance.

James

jdavia
03-14-2003, 01:01 AM
Originally posted by jamman65

Are you saying that Netcape 4x to 6x will not display the page as it will in IE and Netscape 7.0? Is it a browser limitation?
James
No it was made purposely that way. Ns wants their name there.

You must tell the browser to show or not to show the scroll bar and such in your code like this.

scrollbars=no,menu=no,location=no,

Or "yes" if you want them to show. you can use "auto" for the scroll bar too, because if you say "no" some of your view will be cut off.

In your page the text images are too large. Therefor when at normal screen the toolbars make your viewing space smaller, that creates the scroll bar.
Experiment a little to see for yourself what happens.