July 1998
Intermediate to advanced
1456 pages
65h 5m
English
pageXOffset, pageYOffset — NN 4 IE n/a DOM n/a
Read-only
The pixel measure of the amount of the page’s content that has
been scrolled upward and/or to the left. For example, if a document
has been scrolled so that the topmost 100 pixels of the document (the
“page”) are not visible because the window is scrolled,
the pageYOffset value for the window is 100. When
a document is not scrolled, both values are zero.
var vertScroll = self.pageYOffset
Integer.
0
Read now
Unlock full access