60 lines
1.5 KiB
XML
60 lines
1.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<xlib_symbol id='xDisableDrag'>
|
|
|
|
<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></grp>
|
|
<grp></grp>
|
|
</groups>
|
|
<type>Function</type>
|
|
|
|
<description><![CDATA[Disable dragging for an element previously passed to xEnableDrag.]]></description>
|
|
|
|
<syntax>function xDisableDrag(id, last)</syntax>
|
|
|
|
<parameters>
|
|
<par>
|
|
<name>id</name>
|
|
<note><![CDATA[]]></note>
|
|
</par>
|
|
<par>
|
|
<name>last</name>
|
|
<note><![CDATA[If true the document mousemove listener will be removed. Should only be true if id is the last draggable element still enabled.]]></note>
|
|
</par>
|
|
</parameters>
|
|
|
|
<dependencies>
|
|
<dep>xGetElementById</dep>
|
|
<dep>xRemoveEventListener</dep>
|
|
</dependencies>
|
|
|
|
<demos>
|
|
<demo>
|
|
<url>http://cross-browser.com/x/examples/drag1.php</url>
|
|
<note><![CDATA[]]></note>
|
|
</demo>
|
|
<demo>
|
|
<url>http://cross-browser.com/x/examples/drag2.php</url>
|
|
<note><![CDATA[An object-oriented version of drag1.php.]]></note>
|
|
</demo>
|
|
</demos>
|
|
|
|
<revisions>
|
|
<rev>
|
|
<num>2</num>
|
|
<date>16Mar05</date>
|
|
<author>mf</author>
|
|
<note><![CDATA[Renamed variables according to rev2 of xEnableDrag.]]></note>
|
|
</rev>
|
|
<rev>
|
|
<num>1</num>
|
|
<date>7Mar05</date>
|
|
<author>mf</author>
|
|
<note><![CDATA[initial implementation (suggested by Daniel FAIVRE).]]></note>
|
|
</rev>
|
|
</revisions>
|
|
|
|
</xlib_symbol>
|