resizeBy

HTML (DHTML)

resizeBy Method

Internet Development Index

Changes the current size of the window by the specified x- and y-offset.

Syntax

window.resizeBy(iX, iY)

Parameters

iX Required. Integer that specifies the horizontal offset in pixels.
iY Required. Integer that specifies the vertical offset in pixels.

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

See Also

resizeTo