Name

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

Synopsis

resizeTo(x, y)

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

Returned Value

None.

Parameters

x

Width in pixels of the element.

y

Height in pixels of the element.

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.