61 lines
1.4 KiB
XML
61 lines
1.4 KiB
XML
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||
|
|
||
|
<xlib_symbol id='xPageY'>
|
||
|
|
||
|
<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>Position</grp>
|
||
|
</groups>
|
||
|
<type>Function</type>
|
||
|
|
||
|
<description><![CDATA[Get the page-relative Y position of the element.]]></description>
|
||
|
|
||
|
<syntax>xPageY(ele)</syntax>
|
||
|
|
||
|
<parameters>
|
||
|
<par>
|
||
|
<name>ele</name>
|
||
|
<note><![CDATA[id string or object reference]]></note>
|
||
|
</par>
|
||
|
</parameters>
|
||
|
|
||
|
<return>the page relative Y position of ele</return>
|
||
|
|
||
|
<dependencies>
|
||
|
<dep>xGetElementById</dep>
|
||
|
<dep>xDef</dep>
|
||
|
</dependencies>
|
||
|
|
||
|
<demos>
|
||
|
<demo>
|
||
|
<url>http://cross-browser.com/toys/</url>
|
||
|
<note><![CDATA[Index of all X demos.]]></note>
|
||
|
</demo>
|
||
|
</demos>
|
||
|
|
||
|
<comments>
|
||
|
<comment>
|
||
|
<date></date>
|
||
|
<author>mf</author>
|
||
|
<note><![CDATA[Iterates up the offsetParent chain summing offsetTop.]]></note>
|
||
|
</comment>
|
||
|
</comments>
|
||
|
|
||
|
<revisions>
|
||
|
<rev>
|
||
|
<num>2</num>
|
||
|
<date>25Apr05</date>
|
||
|
<author>mf</author>
|
||
|
<note><![CDATA[use xOp7Up instead of xOp7, even tho that line is commented-out]]></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>
|