![]() |
|
|
+ Search |
![]()
|
Mar 5th, 2002 09:15
Ben C, Joćo Martins,
This code won't maximize your window, but it will take up all the
screen area available.
// detect browser
if(document.all) browser = "IE";
if(document.layers) browser = "NN4";
if(document.getElementById && window.sidebar) browser = "NN6";
if(navigator.appName =="Opera") browser = "Opera";
if( browser != "NN4" ) {
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight);
}