Layer.siblingAbove (Property)

A layer that is related to this layer and above it in the Z ordering.

Availability:

JavaScript - 1.2
Netscape - 4.0
Deprecated
Property/method value type:Layer object
JavaScript syntax:NmyLayer.siblingAbove

Given that a layer arrangement is yet another example of a tree structured hierarchy within a page, this property yields the next higher sibling belonging to the same parent (or null if this is the highest element).

Any layers sharing a common parent layer will all be present in the same layers[] collection. They are considered to be siblings and can be ordered with respect to one another. They are ordered collectively by their parent's relationship with its siblings and you cannot interleave siblings from different sets with one another; the set as a whole must be ordered within its parent's z-axis location.

Warnings:

See also:Hierarchy of objects, Layer object, Layer.siblingBelow

Property attributes:

ReadOnly.

insert figure 0091

insert figure 0092