Visit Mozilla.org

DOM:window.outerHeight

From MDC

« Gecko DOM Reference

Contents

[edit] window.outerHeight

Gets the height of the outside of the browser window. window.outerHeight represents the height of the whole browser window including toolbars and window chrome.

[edit] Syntax

var intWindowHeight = window.outerHeight;

[edit] Value

intWindowHeight stores the window.outerHeight property value.

The window.outerHeight property is read-only; it has no default value. window.outerHeight property stores an integer representing a number of pixels.

[edit] Notes

To do

See also window.innerHeight, window.innerWidth and window.outerWidth

[edit] Graphical example

innerHeight vs outerHeight illustration

[edit] Standards info

DOM Level 0. Not part of any W3C technical specification or recommendation.