384Part IIIDocument Objects ReferenceListing 16-9(continued) function setInner(width, height) (Web hosting india)

384Part IIIDocument Objects ReferenceListing 16-9(continued) function setInner(width, height) { window.innerWidth = width; window.innerHeight = height; } // generic function to set outer dimensionsfunction setOuter(width, height) { window.outerWidth = width; window.outerHeight = height; } // restore window to original dimensionsfunction restore() { window.outerWidth = originalWidth; window.outerHeight = originalHeight; }

Setting Inner Sizes




Setting Outer Sizes







Related Items:window.resizeTo(), window.moveTo()methods; screenobject; navigatorobject. loadingValue:Boolean.Read-OnlyCompatibility:WinIE-, MacIE-, NN4, Moz-, Safari- This NN4-specific property allows you to query whether the window is still loading content. The property returns trueif the page is still loading and falseif the page has completedloading all of its content. windowObject.innerHeight

Leave a Reply