Javascript Reference
Categories: layer

javascript layer above, below

@March 15, 2008, 1:22 a.m.
above, belowNN |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. These properties operate in the context of all positionable elements in a document. If the current element is the highest element, the above property returns null. To restrict the examination of next higher or lower elements within a single layer context, see siblingAbove and siblingBelow. To adjust the stacking order with respect to specific objects, see the moveAbove( ) and moveBelow( ) methods.

 
Example
 
var nextHigher = document.myILayer.above;
 
Value

Object reference or null.

 
Default

None.


Powered by Linode.