Visit Mozilla.org

DOM:window.outerWidth

From MDC

« Gecko DOM Reference

Contents

[edit] Summary

Gets the width of the outside of the browser window. window.outerWidth represents the width of the whole browser window including sidebar (if expanded), window chrome and window [re-]sizing borders/handles.

[edit] Syntax

var intWindowWidth = window.outerWidth;

[edit] Value

intWindowWidth stores the window.outerWidth property value.

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

[edit] Notes

To do

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

[edit] Standards info

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