Name

resizeTo( ) — NN 4 IE n/a DOM n/a

Synopsis

resizeTo(x, y)

Convenience method that adjusts the height and width of the window to specific pixel sizes. The top and left edges of the window remain fixed, while the bottom and right edges move in response to this method.

Returned Value

None.

Parameters

x

Width in pixels of the window.

y

Height in pixels of the window.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.