Name
moveAbove( ), moveBelow( ) — NN 4 IE n/a DOM n/a
Synopsis
moveAbove(layerObject
)
moveBelow(layerObject
)
These methods shift the z-order of the current layer to a specific
location relative to another, sibling layer. This is helpful if your
script is not sure of the precise zIndex
value of
a layer you want to use as a reference point for the current
layer’s stacking order. Use moveAbove( )
to
position the current layer immediately above the
layer
object referenced as a parameter.
Returned Value
None.
Parameters
-
layerObject
Reference to another
layer
object that shares the same parent as the current layer.
Get Dynamic HTML: The Definitive Reference 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.