Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Causes the window to scroll to the specified x- and y-offset at the upper-left corner of the window.
Syntax
window.scroll(iX, iY)
Parameters
iX Required. Integer specifying the horizontal scroll offset, in pixels. iY Required. Integer specifying the vertical scroll offset, in pixels.
Return Value
No return value.
Remarks
This method is provided for backward compatibility only. The recommended way to scroll a window is to use the scrollTo method.
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.