Maximize Window for different browser : Window : Window Browser JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Window Browser » Window »

 

Maximize Window for different browser




function maximizeWindow() {
    var offset = (navigator.userAgent.indexOf("Mac"!= -|| 
                  navigator.userAgent.indexOf("Gecko"!= -|| 
                  navigator.appName.indexOf("Netscape"!= -14;
    window.moveTo(-offset, -offset);
    window.resizeTo(screen.availWidth + (* offset), screen.availHeight + (* offset));
}


           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Window Browser
» Window