Name
scrollTo( ) — NN 4 IE n/a DOM n/a
Synopsis
scrollTo(x
, y
)
Scrolls the document in the window to a specific scrolled position.
Returned Value
None.
Parameters
-
x
Horizontal position in pixels of the window.
-
y
Vertical position in pixels of the window.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.