64 lines
1.6 KiB
XML
64 lines
1.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<xlib_symbol id='xMenu1'>
|
|
|
|
<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>Navigation</grp>
|
|
</groups>
|
|
<type>Object</type>
|
|
|
|
<description><![CDATA[xMenu1 Object Prototype]]></description>
|
|
|
|
<syntax>new xMenu1(triggerId, menuId, mouseMargin, openEvent)</syntax>
|
|
|
|
<parameters>
|
|
<par>
|
|
<name>triggerId</name>
|
|
<note><![CDATA[id string of trigger element.]]></note>
|
|
</par>
|
|
<par>
|
|
<name>menuId</name>
|
|
<note><![CDATA[id string of menu.]]></note>
|
|
</par>
|
|
<par>
|
|
<name>mouseMargin</name>
|
|
<note><![CDATA[integer margin around menu; when mouse is outside this margin the menu is hid.]]></note>
|
|
</par>
|
|
<par>
|
|
<name>openEvent</name>
|
|
<note><![CDATA[string name of event on which to open menu ('click', 'mouseover', etc).]]></note>
|
|
</par>
|
|
</parameters>
|
|
|
|
<properties>
|
|
<prop>
|
|
<name></name>
|
|
<note><![CDATA[]]></note>
|
|
</prop>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dep>xgetelementbyid</dep>
|
|
<dep>xaddeventlistener</dep>
|
|
<dep>xmoveto</dep>
|
|
<dep>xpagex</dep>
|
|
<dep>xpagey</dep>
|
|
<dep>xheight</dep>
|
|
<dep>xshow</dep>
|
|
<dep>xevent</dep>
|
|
<dep>xhaspoint</dep>
|
|
<dep>xhide</dep>
|
|
<dep>xremoveeventlistener</dep>
|
|
</dependencies>
|
|
|
|
<demos>
|
|
<demo>
|
|
<url>http://cross-browser.loc/x/menus/xmenu1.php</url>
|
|
<note><![CDATA[simple menus with plenty of potential]]></note>
|
|
</demo>
|
|
</demos>
|
|
|
|
</xlib_symbol>
|