Layer.offset() (Method)

A deprecated means of moving layers.

Availability:

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

You should now use the moveBy() method to change the layer ordering. This method should be replaced when possible.

Warnings:

See also:Layer.moveBy()