moveTo Method | Internet Development Index |
Moves the screen position of the upper-left corner of the window to the specified iX and iY position.
Syntax
window.moveTo(iX, iY)
Parameters
iX Required. Integer that specifies the horizontal scroll offset in pixels. The value must be greater than or equal to 0. iY Required. Integer that 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.
Standards Information
There is no public standard that applies to this method.
Applies To
window