68 lines
1.7 KiB
XML
68 lines
1.7 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<xlib_symbol id='xWinScrollTo'>
|
|
|
|
<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>Window</grp>
|
|
<grp>Animation</grp>
|
|
</groups>
|
|
<type>Function</type>
|
|
|
|
<description><![CDATA[Scroll a window to a point with sinusoidal rate.]]></description>
|
|
|
|
<syntax>xWinScrollTo(win, x, y, uTime)</syntax>
|
|
|
|
<parameters>
|
|
<par>
|
|
<name>win</name>
|
|
<note><![CDATA[]]></note>
|
|
</par>
|
|
<par>
|
|
<name>x,y</name>
|
|
<note><![CDATA[]]></note>
|
|
</par>
|
|
<par>
|
|
<name>uTime</name>
|
|
<note><![CDATA[]]></note>
|
|
</par>
|
|
</parameters>
|
|
|
|
<dependencies>
|
|
<dep>xscrolltop</dep>
|
|
<dep>xscrollleft</dep>
|
|
</dependencies>
|
|
|
|
<demos>
|
|
<demo>
|
|
<url>http://cross-browser.com/x/examples/xwinscrollto.php</url>
|
|
<note><![CDATA[demo]]></note>
|
|
</demo>
|
|
</demos>
|
|
|
|
<comments>
|
|
<comment>
|
|
<date>23May05</date>
|
|
<author>mf</author>
|
|
<note><![CDATA[I never got around to doing it, but the sinusoidal position generators in xSlideTo, xEllipse, xWinScrollto, xParaEq, etc. are all the same. It needs to be abstracted out of those functions.]]></note>
|
|
</comment>
|
|
</comments>
|
|
|
|
<revisions>
|
|
<rev>
|
|
<num>2</num>
|
|
<date>11Mar05</date>
|
|
<author>mf</author>
|
|
<note><![CDATA[renamed the timer listener to be consistent with similar X functions.]]></note>
|
|
</rev>
|
|
<rev>
|
|
<num>1</num>
|
|
<date>29Apr04</date>
|
|
<author>mf</author>
|
|
<note><![CDATA[put in it's own file for use with XC]]></note>
|
|
</rev>
|
|
</revisions>
|
|
|
|
</xlib_symbol>
|