JavaScript » Window » scroll

Syntax:
window.scroll(coordsPixels)

The scroll attribute of <window>  is deprecated in Javascript 1.2.

This method is used to scroll the window to the supplied co-ordinates. This method is now deprecated; use the scrollTo method detailed below instead.