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