Javascript Reference
Categories: layer

javascript layer siblingAbove, siblingBelow

@March 15, 2008, 1:22 a.m.
siblingAbove, siblingBelowNN |4| IE n/a Chrome/Safari/DOM n/a  

Read-only  

Return a reference to the positionable element whose stacking z-order is above or below the current element, but only within the context of the shared parentLayer. If the current element is the highest element, the siblingAbove property returns null. To widen the examination of next higher or lower elements to a document-wide context, see above and below. To adjust the stacking order with respect to specific objects, see the moveAbove( ) and moveBelow( ) methods.

 
Example
 
var nextHigher = document.myILayer.siblingAbove;
 
Value

Object reference or null.

 
Default

None.


Powered by Linode.