July 1998
Intermediate to advanced
1456 pages
65h 5m
English
resizeBy( ) — NN 4 IE n/a DOM n/a
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.
None.
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.
Read now
Unlock full access