Layer.moveBy() (Method)

Adjusts the X,Y position of a layer.


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

This method provides a way to locate a Netscape layer to a new position relative to its old one, by specified pixel amounts along both axes. Positive values move to the right or up, and negative values to the left or down.


See also:Layer.offset()