Name

Layer.moveAbove( ) — move one layer above another Netscape 4 only

Synopsis

                  layer.moveAbove(target)

Arguments

target

The reference Layer object above which layer is to be placed.

Description

moveAbove( ) changes the stacking order so layer appears on top of target. layer becomes a sibling of target if it is not one already. layer is given the same zIndex as target and is placed after target in the layers[] array of the containing 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.