moveBy

HTML (DHTML)

moveBy Method

Internet Development Index

Moves the screen position of the window by the specified iX and iY offset values.

Syntax

window.moveBy(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