javascript layer moveTo( ), moveToAbsolute( )
| moveTo( ), moveToAbsolute( ) | NN |4| IE n/a DOM n/a |
moveTo(x, y) moveToAbsolute(x, y) | |
|
Convenience methods that shift the location of the current element to a specific coordinate point. The differences between the two methods show when the element to be moved is nested inside another positioned container (e.g., a layer inside a layer). The moveTo( ) method uses the coordinate system of the parent container; the moveToAbsolute( ) method uses the coordinate system of the page. For a single layer on a page, the two methods yield the same result. |
|
| Parameters | |
|
|
| Returned Value | |
None. |
|
Previous: javascript layer releaseEvents( )
1159,Nickname,Homepage or email,Comments here,Add comment
