• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

window.pageYOffset

JavaScript1.2+, JScript3+ Nav4+, IE4+ Syntax

							window.pageYOffSet

Description

The pageYOffSet property of the Window object reflects the current vertical pixel location of the top-left corner of the document in the window. In chromeless windows, this property can be referenced if you are moving a window with the moveTo() method before the actual move is made to see if the window needs to be moved. It is also useful when using the scrollTo() method because it returns the current location of the viewable document in relation to the whole page.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint