| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

WindowObject

Page history last edited by PBworks 17 years, 11 months ago


 

WindowObject

(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

 

WindowObject.getInnerDimension()

 

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.


WindowObject.getScrollOffset()

 

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.


WindowObject.scrollTo(varX,varY)

 

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.