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

72 lines
1.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<xlib_symbol id='xHeight'>
<copyright>Copyright 2001-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>Size</grp>
</groups>
<type>Function</type>
<description><![CDATA[Return and optionally set the element's height.]]></description>
<syntax>xHeight(ele[, uH])</syntax>
<parameters>
<par>
<name>ele</name>
<note><![CDATA[id string or object reference]]></note>
</par>
<par>
<name>uH</name>
<note><![CDATA[unsigned integer height; it is rounded to an integer]]></note>
</par>
</parameters>
<return>integer</return>
<dependencies>
<dep>xgetelementbyid</dep>
<dep>xnum</dep>
<dep>xdef</dep>
<dep>xstr</dep>
<dep>xgetcomputedstyle</dep>
</dependencies>
<demos>
<demo>
<url>http://cross-browser.com/toys/</url>
<note><![CDATA[Index of all X demos.]]></note>
</demo>
</demos>
<revisions>
<rev>
<num>4</num>
<date>7Apr05</date>
<author>mf</author>
<note><![CDATA[If ele is document or html or body then return xClientHeight. This needs testing and is somewhat experimental. Also, use (pt !== null) instead of !=]]></note>
</rev>
<rev>
<num>3</num>
<date>12Mar05</date>
<author>mf</author>
<note><![CDATA[Changed xSetCH to use xGetComputedStyle and removed xGetCS. Made xSetCH inline. Reduces width/height funtions about 200 bytes.]]></note>
</rev>
<rev>
<num>2</num>
<date>14May04</date>
<author>mf</author>
<note><![CDATA[now accepts zero as valid]]></note>
</rev>
<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>
</xlib_symbol>