(extends Object)
Object Summary
This object is used to get various properties of the browser window; such as its width and height and scroll offsets.
Constructor
This object is statically accessed. It does not have a constructor.
Methods
returns
A Dimension that includes the inner width and height of the browser window.
comments
Gets a Dimension that includes the inner width and height of the browser window.
returns
A Dimension that includes the scroll offset of the browser window.
comments
Gets a Dimension that includes the scroll offset of the browser window.
parameters
varX - The object reference to scroll to, or X coordinate.
varY - (optional) Y coordinate.
comments
If two parameters are given, then simply window.scrollTo(varX,varY) is called.
If the method has one parameter then it is assumed to be an object to be scrolled to.
See Also
None given.
Usage Examples
Comments (0)
You don't have permission to comment on this page.