JavaScript » Window » scroll

Syntax:
window.scroll(coordsPixels)

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.