resizeTo

HTML (DHTML)

resizeTo Method

Internet Development Index

Sets the size of the window to the specified width and height values.

Syntax

window.resizeTo(iWidth, iHeight)

Parameters

iWidth Required. Integer that specifies the width of the window in pixels.
iHeight Required. Integer that specifies the height of the window 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

resizeBy