Name
Layer.moveToAbsolute( ) — move a Layer to page coordinates
Availability
Netscape 4 only
Synopsis
layer
.moveToAbsolute(x
,y
)
Arguments
-
x
The desired X-coordinate of the layer.
-
y
The desired Y-coordinate of the layer.
Description
moveToAbsolute( )
moves the upper-left corner of
layer
to the document coordinates
specified by x
and
y
. Note that these coordinates are
expressed relative to the page or top-level document, not relative to
any containing layers.
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.