Scrolls the window to the specified x- and y-offset.
dhtml语法
window.scrollTo(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
The specified offsets are relative to the upper-left corner of the window.
是否符合公共标准
There is no public standard that applies to this method.
Applies To
更多语法参考
scrollBy