|
|
|
|
|
|
|
![]() |
#1 |
Just because I don't care doesn't mean I don't understand!
Join Date: Feb 2004
Posts: 92
|
Is this the correct script?
Hello gang,
Is this the correct script to open a page that will fit properly on any size screen resolution? I have tried it and it appears to work correctly. Just wanted to make sure this was all that is needed or is there too much coding. Also, should the margins be set to zero? Not sure. Thanks again, Dunkin <script> <!-- if (window!= top) top.location.href=location.href // --> </script> <script language="JavaScript1.2"> <!-- 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> |
![]() |
![]() |
![]() |
#2 |
Bonged
Join Date: Mar 2003
Location: BrisVegas, AUSTRALIA
Posts: 4,882
|
There is nothing more annoying than resizing of windows... It assumes that EVERYONE has the same 'visual' setup..
Lots of clever people DONT.. eg: they have sidebars, start bars at the top of their screen, multiple screen setups etc Any site that resizes my windows, I just close. Any submission that resizes my window gets deleted. DD
__________________
Old Dollars >>>> Now with over 90 Hosted Free Sites <<<< DangerDave.com.au - Adult Links to Free Porn |
![]() |
![]() |
![]() |
|
|