pandorafms/pandora_console/include/styles/cb/lib/xdisplay.xml

58 lines
1.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<xlib_symbol id='xDisplay'>
<copyright>Copyright 2003-2005 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>Presentation</grp>
</groups>
<type>Function</type>
<description><![CDATA[A safe wrapper for element.style.display.]]></description>
<syntax>xDisplay(e, sProp)</syntax>
<parameters>
<par>
<name>e</name>
<note><![CDATA[id string or element reference]]></note>
</par>
<par>
<name>sProp</name>
<note><![CDATA[one of the valid CSS strings for this property]]></note>
</par>
</parameters>
<return>string, element.style.display if it exists else null</return>
<dependencies>
<dep>xGetElementById</dep>
<dep>xDef</dep>
<dep>xStr</dep>
</dependencies>
<demos>
<demo>
<url>http://cross-browser.com/toys/</url>
<note><![CDATA[Index of all X demos.]]></note>
</demo>
</demos>
<revisions>
<rev>
<num>2</num>
<date>15Mar05</date>
<author>mf</author>
<note><![CDATA[Reduced 13 bytes]]></note>
</rev>
<rev>
<num>1</num>
<date>11Mar05</date>
<author>mf</author>
<note><![CDATA[put into its own file for XC]]></note>
</rev>
</revisions>
</xlib_symbol>