TOC PREV NEXT INDEX

domref



window.innerHeight


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

Syntax

var winHeight = window.innerHeight
 

Parameters

winHeight is the number of pixels as an integer.

Example

var winHeight = window.innerHeight;
    
window.innerHeight = winHeight;
 

Notes

See also window.innerWidth, window.outerHeight.

Specification

DOM Level 0. Not part of specification.
 

TOC PREV NEXT INDEX