Moves the screen position of the upper-left corner of the window to the specified iX
and iY
position.
dhtml语法
window.moveTo(iX, iY)
Parameters
iX |
Required.
Integerthat specifies the horizontal scroll offset in pixels. The value must be greater than or equal to 0. |
iY |
Required.
Integerthat specifies the vertical scroll offset in pixels. The value must be greater than or equal to 0. |
Return Value
No return value.
Remarks
This method does not work on dialog windows. In order to move or size a dialog window, manipulate the dialogheight, dialogwidth, dialogtop, and dialogleft properties.
是否符合公共标准
There is no public standard that applies to this method.
Applies To