|
|
|
|
|
|
![]() |
#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> |
![]() |
![]() |
|
|