Name

Layer.moveBy( ) — move a Layer to a relative position Netscape 4 only

Synopsis

                  layer.moveBy(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

moveBy( ) moves layer dx pixels to the right and dy pixels down from its current position.

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.