charter
12-09-2002, 07:23 PM
Being a newbie could someone please help?
I am looking for a script that will automatically open a window in a certain way.
I want the window to have just the Blue Title Bar at the top and the Task Bar at the bottom.
I want the webpage to fill the rest of the window and the window to open to various sizes depending on screen resolution and size.
An example is at www.bladeinteractive.com (http://www.bladeinteractive.com)
I have looked at the source but cannot understand it
<script language="JavaScript">
function tmt_fullscreen(url, scrollo) {
var larg_schermo = screen.availWidth - 10;
var altez_schermo = screen.availHeight - 30;
window.open(url, "WindowName", "width=" + larg_schermo + ",height=" + altez_schermo + ",top=0,left=0,scrollbars=" + scrollo + "");
}
</script>
What is all this larg_schermo and altez_schermo
Please help I'm desperate.
All help appreciated
I am looking for a script that will automatically open a window in a certain way.
I want the window to have just the Blue Title Bar at the top and the Task Bar at the bottom.
I want the webpage to fill the rest of the window and the window to open to various sizes depending on screen resolution and size.
An example is at www.bladeinteractive.com (http://www.bladeinteractive.com)
I have looked at the source but cannot understand it
<script language="JavaScript">
function tmt_fullscreen(url, scrollo) {
var larg_schermo = screen.availWidth - 10;
var altez_schermo = screen.availHeight - 30;
window.open(url, "WindowName", "width=" + larg_schermo + ",height=" + altez_schermo + ",top=0,left=0,scrollbars=" + scrollo + "");
}
</script>
What is all this larg_schermo and altez_schermo
Please help I'm desperate.
All help appreciated