I.scrollBy

Scrolls the page horizontally and vertically by a given number of pixels.

Usage

I.scrollBy(x,y);
Parameter Type Remarks
x number Number of pixels to scroll right by.
Use a negative number to scroll left instead.
y number Number of pixels to scroll down by.
Use a negative number to scroll up instead.

Example

I.scrollBy(200, -500);

Scrolls the page 200 pixels right, and 500 pixels up.