Contents Index Topic Contents | ||
Previous Topic: scroll Next Topic: scrollIntoView |
scrollBy
Description
Causes the window to scroll relative to the current scrolled position by the specified x and y pixel offsets.
Syntax
object.scrollBy(x, y)
Parameter Description x (Long) Horizontal scroll offset, in pixels. y (Long) Vertical scroll offset, in pixels. Return Value
No return value.
Remarks
Positive values of x/y scroll further right/down; negative values scroll further left/up. Setting the scroll position beyond the limits results in the extreme valid scroll position in the direction specified.
Applies To
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.