window.pageYOffset
Gets the amount of content that has been hidden by scrolling down.
Syntax
vScroll = window.pageYOffset
Parameters
vScroll is the number of pixels as an integer.
Example
Notes
If the user has scrolled down and 400 pixels of the content is hidden by this, then the pageYOffset property returns 400.
See also window.pageXOffset
Specification
DOM Level 0. Not part of specification.
Netscape Communications http://developer.netscape.com |