DekGenius.com
Team LiB   Previous Section   Next Section
Layer.offset( ) move a Layer to a relative position

Availability

Netscape 4 only; deprecated

Synopsis

layer.offset(dx, dy)

Arguments

dx

The number of pixels to move the layer to the right (may be negative).

dy

The number of pixels to move the layer down (may be negative).

Description

offset( ) moves a layer relative to its current position. offset( ) is deprecated in favor of moveBy( ).

    Team LiB   Previous Section   Next Section