|
<?xml version="1.0" encoding="ISO-8859-1"?>
<x_symbol id='xZIndex'>
<sources>
<src><file>xzindex.js</file><note><![CDATA[Default.]]></note></src>
</sources>
<copyright>Copyright 2001-2007 Michael Foster (Cross-Browser.com)</copyright>
<license>Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL</license>
<groups>
<grp>Style</grp>
</groups>
<type>Function</type>
<description><![CDATA[Get and optionally set the element's z-index.]]></description>
<syntax>xZIndex(e[, uZ])</syntax>
<parameters>
<par>
<name>e</name>
<note><![CDATA[id string or element reference]]></note>
</par>
<par>
<name>uZ</name>
<note><![CDATA[unsigned integer]]></note>
</par>
</parameters>
<return>parseInt(e.style.zIndex)</return>
<dependencies>
<dep>xgetelementbyid</dep>
<dep>xdef</dep>
<dep>xnum</dep>
</dependencies>
<demos>
<demo>
<url>http://cross-browser.com/toys/</url>
<note><![CDATA[Index of all X demos.]]></note>
</demo>
</demos>
<comments>
<comment><date>2Jul07</date><author>mf</author><note><![CDATA[Don't use this function, access the native property directly. This function is provided only for backwards-compatibility.]]></note></comment>
<comment>
<date>23May05</date>
<author>mf</author>
<note><![CDATA[I probably should return e.style.zIndex instead of parseInt(...) which will sometimes be NaN.]]></note>
</comment>
</comments>
<revisions>
<rev>
<num>1</num>
<date>31Mar04</date>
<author>mf</author>
<note><![CDATA[put in it's own file for use with XC]]></note>
</rev>
</revisions>
</x_symbol>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been a software developer since 2005, focusing on .Net applications with MS SQL backends, and recently, C++ applications in Linux, Mac OS X, and Windows.