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 current
element by specified pixel amounts. To adjust along only one axis,
set the other value to zero. Positive values for
deltaX
make the element wider; negative
values make the element narrower. Positive values for
deltaY
make the element taller; negative
values make the element 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 element.
-
deltaY
Positive or negative pixel count of the change in vertical dimension 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.