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

David Flanagan

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

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.