Gets the distance, in pixels, that a document has scrolled vertically.
The distance the document has been scrolled.
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.
Build date: 2/14/2014