Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

innerHeight

The innerHeight property of the Window object returns a number that represents the height of the document window. The outer dimensions represent the browser software window, while the inner dimensions represent the document window nested inside the browser software.

Syntaxwindow.innerHeight
alert( window.innerHeight );

JavaScript

Properties

bodycalleeclosedcookiedocumentdropEffecteffectAllowedfilesframeElementframeshistoryInfinityinnerHeightinnerHTMLinnerWidthlengthlocationlocationbarnameNaNnavigatornullopenerouterHeightparentprototypescreenstatetextContentundefined