Name
resizeBy( ) — NN 4 IE n/a DOM n/a
Synopsis
resizeBy(deltaX
,
deltaY
)
A convenience method that shifts the width and height of the window
by specified pixel amounts. To adjust along only one axis, set the
other value to zero. Positive values for
deltaX
make the window wider; negative
values make the window narrower. Positive values for
deltaY
make the window taller; negative
values make the window shorter. The top and bottom edges remain
fixed; only the right and bottom edges are moved.
Returned Value
None.
Parameters
-
deltaX
Positive or negative pixel count of the change in horizontal dimension of the window.
-
deltaY
Positive or negative pixel count of the change in vertical dimension 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.