This script loads the page in a maximum window no matter the screensize. The script differs from other so called 'fullscreen-scripts' that make the browser window dissapear.
<script language="javascript">
top.window.moveTo(0,0); if (document.all) { top.window.resizeTo(screen.availWidth,screen.availHeight); } else if (document.layers||document.getElementById) { if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){ top.window.outerHeight = screen.availHeight; top.window.outerWidth = screen.availWidth; } }
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.
Jack Michaelson posted this at 18:36 — 23rd January 2002.
He has: 1,733 posts
Joined: Dec 1999
This script loads the page in a maximum window no matter the screensize. The script differs from other so called 'fullscreen-scripts' that make the browser window dissapear.
<script language="javascript">
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>
Hope it helps,
Shakespeare: onclick || !(onclick)
Busy posted this at 21:01 — 23rd January 2002.
He has: 6,151 posts
Joined: May 2001
or the other way just make your tables to width="100%" so the layout will always be at its widest on all screen sizes.
Brykess posted this at 21:20 — 23rd January 2002.
They have: 50 posts
Joined: Aug 2001
cool, thanks for your help.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.