DekGenius.com
Team LiB   Previous Section   Next Section
Window.scrollBy( ) scroll the document by a relative amount

Availability

JavaScript 1.2

Synopsis

window.scrollBy(dx, dy)

Arguments

dx

The number of pixels by which to scroll the document to the right.

dy

The number of pixels by which to scroll the document down.

Description

scrollBy( ) scrolls the document displayed in window by the relative amounts specified by dx and dy.

    Team LiB   Previous Section   Next Section