I.scrollTo

Scrolls a point on the page to the top left corner of the screen.

Usage

I.scrollTo(x,y);
Parameter Type Remarks
x number X coordinate of the page to scroll to.
y number Y coordinate of the page to scroll to.

Example

I.scrollTo(0, 500);

Scrolls (0, 500) on the page to the top left corner of the screen.