TOC PREV NEXT INDEX

domref



window.innerWidth


Gets/sets the height of the content area of the browser window.

Syntax

window.innerWidth = iPx
 
iPx = window.innerWidth
 

Parameters

iPx is the number of pixels as an integer.

Example

window.innerHeight = 400;
 
window.innerWidth = 400;
 

Notes

See also window.innerHeight, window.outerHeight.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX