Layer.resizeBy() (Method)

Adjusts the size of a layer by a relative amount.

Availability:

JavaScript - 1.2
Netscape version - 4.0
Deprecated
JavaScript syntax:NmyLayer.resizeBy(anX, aY)
Argument list:anXA relative distance in the X axis
aYA relative distance in the Y axis

The layer can have its size adjusted by a value measured in pixels. This can apply to the horizontal or vertical axis or both if necessary. The value can be positive or negative causing the layer to grow or shrink respectively.

Although the size changes, the top left corner will remain pinned to its current location growing or shrinking the layer to the right and bottom of its extent.

Warnings:

See also:Layer.resizeTo()

insert figure 0073