Javascript Reference
Categories: window

javascript window scroll( )

@March 15, 2008, 1:22 a.m.
scroll( )Firefox/Netscape/NN 3 IE 4 Chrome/Safari/DOM n/a  

scroll(x, y)

  

Sets the scrolled position of the document inside the current window or frame. To return the document to its unscrolled position, set both parameters to zero.

 
Parameters
 
  • Horizontal measure of scrolling within the window.
  • Vertical measure of scrolling within the window.
 
Returned Value

None.


Powered by Linode.