/    Sign up×
Community /Pin to ProfileBookmark

JavaScript Fullscreen and Netscape 4x to 7x

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;

[url]http://www.seemyimage.com/main_frame.htm[/url]

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

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@jdaviaMar 13.2003 — [i]Originally posted by jamman65 [/i]

[B]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 [/B]
[/QUOTE]


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>
Copy linkTweet thisAlerts:
@jamman65authorMar 13.2003 — 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
Copy linkTweet thisAlerts:
@jdaviaMar 14.2003 — [i]Originally posted by jamman65 [/i]

[B]


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 [/B]
[/QUOTE]

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.
×

Success!

Help @jamman65 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...