Window Properties - Description

Retrieving the dimensions of a window or how far a window has been scrolled requires looking at a different property in all the major browsers. This script creates one function for each quantity to simplify the process.

Script Engine / Document Object Model Required

( Javascript 1.1 | JScript 2.0 | ECMAScript 1.0 ) & DOM 0

Modification History

2002/11/25 v1.0


2003/12/26 v1.1

Rewritten using info from Peter-Paul Koch's site, QuirksMode.

More about this script

Related to this script


This script is released under a Creative Commons License.