DekGenius.com
Team LiB   Previous Section   Next Section
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.

    Team LiB   Previous Section   Next Section