Causes the window to scroll to the specified x- and y-offset at the upper-left corner of the window.
dhtml语法
window.scroll(iX, iY)
Parameters
iX |
Required.
Integerthat specifies the horizontal scroll offset, in pixels. |
iY |
Required.
Integerthat specifies 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.
是否符合公共标准
There is no public standard that applies to this method.
Applies To