56 lines
1.3 KiB
XML
56 lines
1.3 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<xlib_symbol id='xParentChain'>
|
|
|
|
<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>Debug</grp>
|
|
</groups>
|
|
<type>Function</type>
|
|
|
|
<description><![CDATA[Walks up the parent chain building a string suitable for displaying.]]></description>
|
|
|
|
<syntax>xParentChain(ele, sDelim, bNode)</syntax>
|
|
|
|
<parameters>
|
|
<par>
|
|
<name>ele</name>
|
|
<note><![CDATA[id string or object reference]]></note>
|
|
</par>
|
|
<par>
|
|
<name>sDelim</name>
|
|
<note><![CDATA[for example: '\n' or '<br>']]></note>
|
|
</par>
|
|
<par>
|
|
<name>bNode</name>
|
|
<note><![CDATA[pass true if you want parentNode, else you get offsetParent]]></note>
|
|
</par>
|
|
</parameters>
|
|
|
|
<return>string</return>
|
|
|
|
<dependencies>
|
|
<dep>xGetElementById</dep>
|
|
<dep>xName</dep>
|
|
<dep>xParent</dep>
|
|
</dependencies>
|
|
|
|
<demos>
|
|
<demo>
|
|
<url>http://cross-browser.com/toys/</url>
|
|
<note><![CDATA[Index of all X demos.]]></note>
|
|
</demo>
|
|
</demos>
|
|
|
|
<revisions>
|
|
<rev>
|
|
<num>1</num>
|
|
<date>12Mar05</date>
|
|
<author>mf</author>
|
|
<note><![CDATA[put in it's own file for use with XC]]></note>
|
|
</rev>
|
|
</revisions>
|
|
|
|
</xlib_symbol>
|