JavaScript » Window » pageXOffset

Syntax:
window.pageXOffset

These properties return the X and Y position of the current page in relation to the upper left corner of a window's display area.