TOC PREV NEXT INDEX

Put your logo here!


window.outerWidth


Gets/sets the width of the outside of the browser window.

Syntax

window.outerWidth = iPx 
iPx = window.outerWidth 

Parameters

iPx is an integer representing the number of pixels.

Example

window.outerWidth = ( window.screen.availWidth ); 

Notes

As the snippet above demonstrates, the outerWidth property is very often used to size the browser to the available screen area. Contrast this with the innerWidth property, which controls the size of the content area of the browser.

See also window.screen, window.innerHeight, window.outerHeight

Specification

DOM Level 0. Not part of specification. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX