pageYOffset
Property of css/cssom/propertiescss/cssom/properties
Syntax
var result = element.pageYOffset;
element.pageYOffset = value;
Notes
Remarks
When you scroll a document vertically, some content is moved outside the view of the display area. The pageYOffset property returns the difference between the first pixel in the content and the first pixel currently in view.
Syntax
Standards information
See also
Related articles
CSSOM
pageYOffset
Related pages
window
pageXOffset
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]