Name
Layer.resizeTo( ) — resize a Layer Netscape 4 only
Synopsis
layer
.resizeTo(width
,height
)
Arguments
-
width
The desired width of the layer.
-
height
The desired height of the layer.
Description
resizeTo( )
resizes
layer
by setting its
clip.width
and clip.height
properties to width
and
height
. It does not cause the contents of
the layer to be reformatted, so making a layer smaller may clip the
layer’s contents.
Get JavaScript: The Definitive Guide, Fourth Edition 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.