Javascript [Electronic resources] : The Definitive Guide (4th Edition)

David Flanagan

نسخه متنی -صفحه : 844/ 463
نمايش فراداده

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.