Website help -full screen script

If it's java, then it needs to be in the javascript code.

Should have been more clearer.. The site he's building.. Is he building a html website, CGI, PHP...
 
In the head of the html file put this..
Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=no');
}
//  End -->
</script>

In the Body section of the html file put this.
Code:
<a href="javascript:void(0);" onClick="fullScreen('full-screen.html');">Open Full Screen Window</a>

edit the "full-screen.html to your file and change the "open Full Screen Window" to the name of the link.. Copy that whole line, and use that for each new link you want to open in full screen with no scroll bars.
 
Then your not putting in the code correctly..

Note..

This code isn't going to remove teh scroll bars from the current page. Only the new page that you click on the link.
 
i know that, it still doesnt work

i have added the script to a button (it still didnt work with the text hypalink)

here is the script:

Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=no');
}
//  End -->
</script>

<input type="button" onClick="fullScreen('main_menu.htm')" value="Enter the simulator!"><font color="#FFFF00">

thanks
J
 
You must have something else in your <head> I just use your code and the button shows, When you click the button it opens a new window, fullscreen with no scrolls.
 
Back
Top Bottom