1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>API: menu YAHOO.widget.Menu (YUI Library)
</title>
5 <link rel=
"stylesheet" type=
"text/css" href=
"assets/api.css">
9 <div id=
"doc3" class=
"yui-t2">
12 <h1>Yahoo! UI Library
</h1>
13 <h3>Menu
<span class=
"subtitle">2.2.0</span></h3>
15 <a href=
"./index.html">Yahoo! UI Library
</a>
16 > <a href=
"./module_menu.html">menu
</a>
17 > YAHOO.widget.Menu
32 Class
<b>YAHOO.widget.Menu
</b>
33 <span class=
"extends">
34 - extends
<a href=
"YAHOO.widget.Overlay.html">YAHOO.widget.Overlay
</a>
37 <span class=
"extends">
42 <!-- class tree goes here -->
44 <dl class=
"subclasses">
45 <dt>Known Subclasses:
</dd>
47 <a href=
"YAHOO.widget.ContextMenu.html">YAHOO.widget.ContextMenu
</a>
48 <a href=
"YAHOO.widget.Menubar.html">YAHOO.widget.Menubar
</a>
54 <div class=
"summary description">
55 The Menu class creates a container that holds a vertical list representing
56 a set of options or commands. Menu is the base class for all
60 <div class=
"section constructor details">
61 <h3><a name=
"constructor_detail">Constructor
</a></h3>
64 <strong>YAHOO.widget.Menu
</strong>
79 <div class=
"description">
86 String specifying the id attribute of the
87 <code><div
></code> element of the menu.
93 String specifying the id attribute of the
94 <code><select
></code> element to be used as the data source
99 <<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
100 level-one-html.html#ID-22445964">HTMLDivElement
</a>>
103 specifying the
<code><div
></code> element of the menu.
107 <<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
108 level-one-html.html#ID-94282980">HTMLSelectElement
</a>>
111 Object specifying the
<code><select
></code> element to be used as
112 the data source for the menu.
118 Optional. Object literal specifying the
119 configuration for the menu. See configuration class documentation for
130 <div class=
"section field details">
131 <h3><a name=
"field_detail">Properties
</a></h3>
132 <div class=
"content">
133 <h4><a name=
"_aGroupTitleElements">_aGroupTitleElements
</a>
134 <code>- private Array
</code>
137 <div class=
"description">
138 Array of HTML element used to title groups of menu items.
143 <div class=
"default">
149 <h4><a name=
"_aItemGroups">_aItemGroups
</a>
150 <code>- private Array
</code>
153 <div class=
"description">
154 Multi-dimensional Array representing the menu items as they
155 are grouped in the menu.
160 <div class=
"default">
166 <h4><a name=
"_aListElements">_aListElements
</a>
167 <code>- private Array
</code>
170 <div class=
"description">
171 Array of
<code><ul
></code> elements, each of which is
172 the parent node for each item's
<code><li
></code> element.
177 <div class=
"default">
183 <h4><a name=
"_bHandledMouseOutEvent">_bHandledMouseOutEvent
</a>
184 <code>- private Boolean
</code>
187 <div class=
"description">
188 Boolean indicating the current state of the menu's
194 <div class=
"default">
200 <h4><a name=
"_bHandledMouseOverEvent">_bHandledMouseOverEvent
</a>
201 <code>- private Boolean
</code>
204 <div class=
"description">
205 Boolean indicating the current state of the menu's
211 <div class=
"default">
217 <h4><a name=
"_bHideDelayEventHandlersAssigned">_bHideDelayEventHandlersAssigned
</a>
218 <code>- private Boolean
</code>
221 <div class=
"description">
222 Boolean indicating if the
"mouseover" and
"mouseout" event
223 handlers used for hiding the menu via a call to
"window.setTimeout" have
224 already been assigned.
229 <div class=
"default">
235 <h4><a name=
"_bStopMouseEventHandlers">_bStopMouseEventHandlers
</a>
236 <code>- private Boolean
</code>
239 <div class=
"description">
240 Stops
"mouseover," "mouseout," and
"mousemove" event handlers
246 <div class=
"default">
252 <h4><a name=
"_nBodyScrollId">_nBodyScrollId
</a>
253 <code>- private Number
</code>
256 <div class=
"description">
257 Number representing the time-out setting used to cancel the
258 scrolling of the menu's body element.
263 <div class=
"default">
269 <h4><a name=
"_nCurrentMouseX">_nCurrentMouseX
</a>
270 <code>- private Number
</code>
273 <div class=
"description">
274 The current x coordinate of the mouse inside the area of
280 <div class=
"default">
286 <h4><a name=
"_nHideDelayId">_nHideDelayId
</a>
287 <code>- private Number
</code>
290 <div class=
"description">
291 Number representing the time-out setting used to cancel the
297 <div class=
"default">
303 <h4><a name=
"_nMaxHeight">_nMaxHeight
</a>
304 <code>- private Number
</code>
307 <div class=
"description">
308 The original value of the
"maxheight" configuration property
314 <div class=
"default">
320 <h4><a name=
"_nShowDelayId">_nShowDelayId
</a>
321 <code>- private Number
</code>
324 <div class=
"description">
325 Number representing the time-out setting used to cancel the
331 <div class=
"default">
337 <h4><a name=
"_nSubmenuHideDelayId">_nSubmenuHideDelayId
</a>
338 <code>- private Number
</code>
341 <div class=
"description">
342 Number representing the time-out setting used to cancel the
348 <div class=
"default">
354 <h4><a name=
"_sClassName">_sClassName
</a>
355 <code>- private String
</code>
358 <div class=
"description">
359 The current value of the
"classname" configuration attribute.
364 <div class=
"default">
370 <h4><a name=
"activeItem">activeItem
</a>
371 <code>- YAHOO.widget.MenuItem
</code>
374 <div class=
"description">
375 Object reference to the item in the menu that has focus.
380 <div class=
"default">
386 <h4><a name=
"CSS_CLASS_NAME">CSS_CLASS_NAME
</a>
387 <code>- final String
</code>
390 <div class=
"description">
391 String representing the CSS class(es) to be applied to the
392 menu's
<code><div
></code> element.
397 <div class=
"default">
398 Default Value:
"yuimenu"
403 <h4><a name=
"GROUP_TITLE_TAG_NAME">GROUP_TITLE_TAG_NAME
</a>
404 <code>- final String
</code>
407 <div class=
"description">
408 String representing the tagname of the HTML element used to
409 title the menu's item groups.
414 <div class=
"default">
420 <h4><a name=
"ITEM_TYPE">ITEM_TYPE
</a>
421 <code>- final YAHOO.widget.MenuItem
</code>
424 <div class=
"description">
425 Object representing the type of menu item to instantiate and
426 add when parsing the child nodes (either
<code><li
></code> element,
427 <code><optgroup
></code> element or
<code><option
></code>)
428 of the menu's source HTML element.
433 <div class=
"default">
434 Default Value: YAHOO.widget.MenuItem
439 <h4><a name=
"itemData">itemData
</a>
443 <div class=
"description">
444 Array of items to be added to the menu. The array can contain
445 strings representing the text for each item to be created, object literals
446 representing the menu item configuration properties, or MenuItem instances.
447 This property should be set via the constructor using the configuration
453 <div class=
"default">
459 <h4><a name=
"lazyLoad">lazyLoad
</a>
460 <code>- Boolean
</code>
463 <div class=
"description">
464 Boolean indicating if the menu's
"lazy load" feature is
465 enabled. If set to
"true," initialization and rendering of the menu's
466 items will be deferred until the first time it is made visible. This
467 property should be set via the constructor using the configuration
473 <div class=
"default">
479 <h4><a name=
"parent">parent
</a>
480 <code>- YAHOO.widget.MenuItem
</code>
483 <div class=
"description">
484 Object reference to the menu's parent menu or menu item.
485 This property can be set via the constructor using the configuration
491 <div class=
"default">
497 <h4><a name=
"srcElement">srcElement
</a>
498 <code>-
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
499 level-one-html.html#ID-94282980">HTMLSelectElement
</a>|
<a
500 href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
501 html#ID-22445964">HTMLDivElement
</a></code>
504 <div class=
"description">
505 Object reference to the HTML element (either
506 <code><select
></code> or
<code><div
></code>) used to
512 <div class=
"default">
523 <div class=
"section field inheritance">
524 <h4>Properties inherited from
<a href=
"YAHOO.widget.Module.html">YAHOO.widget.Module
</a>:
</h4>
525 <div class=
"content">
528 <a href=
"YAHOO.widget.Module.html#body">body
</a>,
529 <a href=
"YAHOO.widget.Module.html#browser">browser
</a>,
530 <a href=
"YAHOO.widget.Module.html#cfg">cfg
</a>,
531 <a href=
"YAHOO.widget.Module.html#contructor">contructor
</a>,
532 <a href=
"YAHOO.widget.Module.html#element">element
</a>,
533 <a href=
"YAHOO.widget.Module.html#footer">footer
</a>,
534 <a href=
"YAHOO.widget.Module.html#header">header
</a>,
535 <a href=
"YAHOO.widget.Module.html#id">id
</a>,
536 <a href=
"YAHOO.widget.Module.html#imageRoot">imageRoot
</a>,
537 <a href=
"YAHOO.widget.Module.html#isSecure">isSecure
</a>,
538 <a href=
"YAHOO.widget.Module.html#platform">platform
</a>
542 <div class=
"section field inheritance">
543 <h4>Properties inherited from
<a href=
"YAHOO.widget.Overlay.html">YAHOO.widget.Overlay
</a>:
</h4>
544 <div class=
"content">
547 <a href=
"YAHOO.widget.Overlay.html#YAHOO.widget.Overlay._initialized">YAHOO.widget.Overlay._initialized
</a>
552 <div class=
"section method details">
553 <h3><a name=
"methodDetails">Methods
</a></h3>
554 <div class=
"content">
556 <a name=
"_addItemToGroup">_addItemToGroup
</a></h4>
562 YAHOO.widget.MenuItem
563 <strong>_addItemToGroup
</strong>
585 <div class=
"description">
586 Adds a menu item to a group.
589 <div class=
"description">
594 <code>p_nGroupIndex
<Number
></code>
595 Number indicating the group to which the
599 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
600 Object reference for the MenuItem
601 instance to be added to the menu.
604 <code>p_oItem
<String
></code>
605 String specifying the text of the item to be added
609 <code>p_oItem
<Object
></code>
610 Object literal containing a set of menu item
611 configuration properties.
614 <code>p_nItemIndex
<Number
></code>
615 Optional. Number indicating the index at
616 which the menu item should be added.
623 YAHOO.widget.MenuItem
633 <a name=
"_cancelHideDelay">_cancelHideDelay
</a></h4>
640 <strong>_cancelHideDelay
</strong>
645 <div class=
"description">
646 Cancels the call to
"hideMenu."
649 <div class=
"description">
665 <a name=
"_cancelShowDelay">_cancelShowDelay
</a></h4>
672 <strong>_cancelShowDelay
</strong>
677 <div class=
"description">
678 Cancels the call to the
"showMenu."
681 <div class=
"description">
697 <a name=
"_checkPosition">_checkPosition
</a></h4>
704 <strong>_checkPosition
</strong>
714 <div class=
"description">
715 Checks to make sure that the value of the
"position" property
716 is one of the supported strings. Returns true if the position is supported.
719 <div class=
"description">
724 <code>p_sPosition
<Object
></code>
725 String specifying the position of the menu.
742 <a name=
"_configureSubmenu">_configureSubmenu
</a></h4>
749 <strong>_configureSubmenu
</strong>
759 <div class=
"description">
760 Subscribes the menu item's submenu to its parent menu's events.
763 <div class=
"description">
768 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
769 Object reference for the MenuItem
770 instance with the submenu to be configured.
787 <a name=
"_createItemGroup">_createItemGroup
</a></h4>
794 <strong>_createItemGroup
</strong>
804 <div class=
"description">
805 Creates a new menu item group (array) and its associated
806 <code><ul
></code> element. Returns an aray of menu item groups.
809 <div class=
"description">
814 <code>p_nIndex
<Number
></code>
815 Number indicating the group to create.
832 <a name=
"_disableScrollFooter">_disableScrollFooter
</a></h4>
839 <strong>_disableScrollFooter
</strong>
844 <div class=
"description">
845 Disables the footer used for scrolling the body of the menu.
848 <div class=
"description">
864 <a name=
"_disableScrollHeader">_disableScrollHeader
</a></h4>
871 <strong>_disableScrollHeader
</strong>
876 <div class=
"description">
877 Disables the header used for scrolling the body of the menu.
880 <div class=
"description">
896 <a name=
"_enableScrollFooter">_enableScrollFooter
</a></h4>
903 <strong>_enableScrollFooter
</strong>
908 <div class=
"description">
909 Enables the footer used for scrolling the body of the menu.
912 <div class=
"description">
928 <a name=
"_enableScrollHeader">_enableScrollHeader
</a></h4>
935 <strong>_enableScrollHeader
</strong>
940 <div class=
"description">
941 Enables the header used for scrolling the body of the menu.
944 <div class=
"description">
960 <a name=
"_execHideDelay">_execHideDelay
</a></h4>
967 <strong>_execHideDelay
</strong>
972 <div class=
"description">
973 Hides the menu after the number of milliseconds specified by
974 the
"hidedelay" configuration property.
977 <div class=
"description">
993 <a name=
"_execShowDelay">_execShowDelay
</a></h4>
1000 <strong>_execShowDelay
</strong>
1010 <div class=
"description">
1011 Shows the menu after the number of milliseconds specified by
1012 the
"showdelay" configuration property have ellapsed.
1015 <div class=
"description">
1018 <dt>Parameters:
</dt>
1020 <code>p_oMenu
<YAHOO.widget.Menu
></code>
1021 Object specifying the menu that should
1039 <a name=
"_execSubmenuHideDelay">_execSubmenuHideDelay
</a></h4>
1040 <div class=
"detail">
1046 <strong>_execSubmenuHideDelay
</strong>
1064 <div class=
"description">
1065 Hides a submenu after the number of milliseconds specified by
1066 the
"submenuhidedelay" configuration property have ellapsed.
1069 <div class=
"description">
1072 <dt>Parameters:
</dt>
1074 <code>p_oSubmenu
<YAHOO.widget.Menu
></code>
1075 Object specifying the submenu that
1079 <code>p_nMouseX
<Number
></code>
1080 The x coordinate of the mouse when it left
1081 the specified submenu's parent menu item.
1084 <code>p_nHideDelay
<Number
></code>
1085 The number of milliseconds that should ellapse
1086 before the submenu is hidden.
1103 <a name=
"_getFirstEnabledItem">_getFirstEnabledItem
</a></h4>
1104 <div class=
"detail">
1109 YAHOO.widget.MenuItem
1110 <strong>_getFirstEnabledItem
</strong>
1115 <div class=
"description">
1116 Returns the first enabled item in the menu.
1119 <div class=
"description">
1125 YAHOO.widget.MenuItem
1135 <a name=
"_getItemGroup">_getItemGroup
</a></h4>
1136 <div class=
"detail">
1142 <strong>_getItemGroup
</strong>
1152 <div class=
"description">
1153 Returns the menu item group at the specified index.
1156 <div class=
"description">
1159 <dt>Parameters:
</dt>
1161 <code>p_nIndex
<Number
></code>
1162 Number indicating the index of the menu item group
1180 <a name=
"_getOffsetWidth">_getOffsetWidth
</a></h4>
1181 <div class=
"detail">
1187 <strong>_getOffsetWidth
</strong>
1192 <div class=
"description">
1193 Returns the offset width of the menu's
1194 <code><div
></code> element.
1197 <div class=
"description">
1213 <a name=
"_initSubTree">_initSubTree
</a></h4>
1214 <div class=
"detail">
1220 <strong>_initSubTree
</strong>
1225 <div class=
"description">
1226 Iterates the childNodes of the source element to find nodes
1227 used to instantiate menu and menu items.
1230 <div class=
"description">
1246 <a name=
"_onBeforeHide">_onBeforeHide
</a></h4>
1247 <div class=
"detail">
1253 <strong>_onBeforeHide
</strong>
1271 <div class=
"description">
1272 "beforehide" event handler for the menu.
1275 <div class=
"description">
1278 <dt>Parameters:
</dt>
1280 <code>p_sType
<String
></code>
1281 String representing the name of the event that
1285 <code>p_aArgs
<Array
></code>
1286 Array of arguments sent when the event was fired.
1289 <code>p_oMenu
<YAHOO.widget.Menu
></code>
1290 Object representing the menu that fired
1308 <a name=
"_onBeforeRender">_onBeforeRender
</a></h4>
1309 <div class=
"detail">
1315 <strong>_onBeforeRender
</strong>
1333 <div class=
"description">
1334 "beforerender" event handler for the menu. Appends all of the
1335 <code><ul
></code>,
<code><li
></code> and their accompanying
1336 title elements to the body element of the menu.
1339 <div class=
"description">
1342 <dt>Parameters:
</dt>
1344 <code>p_sType
<String
></code>
1345 String representing the name of the event that
1349 <code>p_aArgs
<Array
></code>
1350 Array of arguments sent when the event was fired.
1353 <code>p_oMenu
<YAHOO.widget.Menu
></code>
1354 Object representing the menu that
1372 <a name=
"_onBeforeShow">_onBeforeShow
</a></h4>
1373 <div class=
"detail">
1379 <strong>_onBeforeShow
</strong>
1397 <div class=
"description">
1398 "beforeshow" event handler for the menu.
1401 <div class=
"description">
1404 <dt>Parameters:
</dt>
1406 <code>p_sType
<String
></code>
1407 String representing the name of the event that
1411 <code>p_aArgs
<Array
></code>
1412 Array of arguments sent when the event was fired.
1415 <code>p_oMenu
<YAHOO.widget.Menu
></code>
1416 Object representing the menu that
1434 <a name=
"_onClick">_onClick
</a></h4>
1435 <div class=
"detail">
1441 <strong>_onClick
</strong>
1459 <div class=
"description">
1460 "click" event handler for the menu.
1463 <div class=
"description">
1466 <dt>Parameters:
</dt>
1468 <code>p_sType
<String
></code>
1469 String representing the name of the event that
1473 <code>p_aArgs
<Array
></code>
1474 Array of arguments sent when the event was fired.
1477 <code>p_oMenu
<YAHOO.widget.Menu
></code>
1478 Object representing the menu that
1496 <a name=
"_onHide">_onHide
</a></h4>
1497 <div class=
"detail">
1503 <strong>_onHide
</strong>
1521 <div class=
"description">
1522 "hide" event handler for the menu.
1525 <div class=
"description">
1528 <dt>Parameters:
</dt>
1530 <code>p_sType
<String
></code>
1531 String representing the name of the event that
1535 <code>p_aArgs
<Array
></code>
1536 Array of arguments sent when the event was fired.
1539 <code>p_oMenu
<YAHOO.widget.Menu
></code>
1540 Object representing the menu that fired
1558 <a name=
"_onInit">_onInit
</a></h4>
1559 <div class=
"detail">
1565 <strong>_onInit
</strong>
1583 <div class=
"description">
1584 "init" event handler for the menu.
1587 <div class=
"description">
1590 <dt>Parameters:
</dt>
1592 <code>p_sType
<String
></code>
1593 String representing the name of the event that
1597 <code>p_aArgs
<Array
></code>
1598 Array of arguments sent when the event was fired.
1601 <code>p_oMenu
<YAHOO.widget.Menu
></code>
1602 Object representing the menu that
1620 <a name=
"_onKeyDown">_onKeyDown
</a></h4>
1621 <div class=
"detail">
1627 <strong>_onKeyDown
</strong>
1645 <div class=
"description">
1646 "keydown" event handler for the menu.
1649 <div class=
"description">
1652 <dt>Parameters:
</dt>
1654 <code>p_sType
<String
></code>
1655 String representing the name of the event that
1659 <code>p_aArgs
<Array
></code>
1660 Array of arguments sent when the event was fired.
1663 <code>p_oMenu
<YAHOO.widget.Menu
></code>
1664 Object representing the menu that
1682 <a name=
"_onKeyPress">_onKeyPress
</a></h4>
1683 <div class=
"detail">
1689 <strong>_onKeyPress
</strong>
1707 <div class=
"description">
1708 "keypress" event handler for a Menu instance.
1711 <div class=
"description">
1714 <dt>Parameters:
</dt>
1716 <code>p_sType
<String
></code>
1717 The name of the event that was fired.
1720 <code>p_aArgs
<Array
></code>
1721 Collection of arguments sent when the event
1725 <code>p_oMenu
<YAHOO.widget.Menu
></code>
1726 The Menu instance that fired the event.
1743 <a name=
"_onMenuItemBlur">_onMenuItemBlur
</a></h4>
1744 <div class=
"detail">
1750 <strong>_onMenuItemBlur
</strong>
1764 <div class=
"description">
1765 "blur" event handler for the menu's items.
1768 <div class=
"description">
1771 <dt>Parameters:
</dt>
1773 <code>p_sType
<String
></code>
1774 String representing the name of the event
1778 <code>p_aArgs
<Array
></code>
1779 Array of arguments sent when the event was fired.
1796 <a name=
"_onMenuItemConfigChange">_onMenuItemConfigChange
</a></h4>
1797 <div class=
"detail">
1803 <strong>_onMenuItemConfigChange
</strong>
1821 <div class=
"description">
1822 "configchange" event handler for the menu's items.
1825 <div class=
"description">
1828 <dt>Parameters:
</dt>
1830 <code>p_sType
<String
></code>
1831 String representing the name of the event that
1835 <code>p_aArgs
<Array
></code>
1836 Array of arguments sent when the event was fired.
1839 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1840 Object representing the menu item
1841 that fired the event.
1858 <a name=
"_onMenuItemFocus">_onMenuItemFocus
</a></h4>
1859 <div class=
"detail">
1865 <strong>_onMenuItemFocus
</strong>
1883 <div class=
"description">
1884 "focus" event handler for the menu's items.
1887 <div class=
"description">
1890 <dt>Parameters:
</dt>
1892 <code>p_sType
<String
></code>
1893 String representing the name of the event that
1897 <code>p_aArgs
<Array
></code>
1898 Array of arguments sent when the event was fired.
1901 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
1902 Object representing the menu item
1903 that fired the event.
1920 <a name=
"_onMouseMove">_onMouseMove
</a></h4>
1921 <div class=
"detail">
1927 <strong>_onMouseMove
</strong>
1941 <div class=
"description">
1942 "click" event handler for the menu.
1945 <div class=
"description">
1948 <dt>Parameters:
</dt>
1950 <code>p_oEvent
<Event
></code>
1951 Object representing the DOM event object passed
1952 back by the event utility (YAHOO.util.Event).
1955 <code>p_oMenu
<YAHOO.widget.Menu
></code>
1956 Object representing the menu that
1974 <a name=
"_onMouseOut">_onMouseOut
</a></h4>
1975 <div class=
"detail">
1981 <strong>_onMouseOut
</strong>
1999 <div class=
"description">
2000 "mouseout" event handler for the menu.
2003 <div class=
"description">
2006 <dt>Parameters:
</dt>
2008 <code>p_sType
<String
></code>
2009 String representing the name of the event that
2013 <code>p_aArgs
<Array
></code>
2014 Array of arguments sent when the event was fired.
2017 <code>p_oMenu
<YAHOO.widget.Menu
></code>
2018 Object representing the menu that
2036 <a name=
"_onMouseOver">_onMouseOver
</a></h4>
2037 <div class=
"detail">
2043 <strong>_onMouseOver
</strong>
2061 <div class=
"description">
2062 "mouseover" event handler for the menu.
2065 <div class=
"description">
2068 <dt>Parameters:
</dt>
2070 <code>p_sType
<String
></code>
2071 String representing the name of the event that
2075 <code>p_aArgs
<Array
></code>
2076 Array of arguments sent when the event was fired.
2079 <code>p_oMenu
<YAHOO.widget.Menu
></code>
2080 Object representing the menu that
2098 <a name=
"_onParentMenuConfigChange">_onParentMenuConfigChange
</a></h4>
2099 <div class=
"detail">
2105 <strong>_onParentMenuConfigChange
</strong>
2123 <div class=
"description">
2124 "configchange" event handler for a submenu.
2127 <div class=
"description">
2130 <dt>Parameters:
</dt>
2132 <code>p_sType
<String
></code>
2133 String representing the name of the event that
2137 <code>p_aArgs
<Array
></code>
2138 Array of arguments sent when the event was fired.
2141 <code>p_oSubmenu
<YAHOO.widget.Menu
></code>
2142 Object representing the submenu that
2143 subscribed to the event.
2160 <a name=
"_onParentMenuRender">_onParentMenuRender
</a></h4>
2161 <div class=
"detail">
2167 <strong>_onParentMenuRender
</strong>
2185 <div class=
"description">
2186 "render" event handler for a submenu. Renders a
2187 submenu in response to the firing of its parent's
"render" event.
2190 <div class=
"description">
2193 <dt>Parameters:
</dt>
2195 <code>p_sType
<String
></code>
2196 String representing the name of the event that
2200 <code>p_aArgs
<Array
></code>
2201 Array of arguments sent when the event was fired.
2204 <code>p_oSubmenu
<YAHOO.widget.Menu
></code>
2205 Object representing the submenu that
2206 subscribed to the event.
2223 <a name=
"_onScrollTargetMouseOut">_onScrollTargetMouseOut
</a></h4>
2224 <div class=
"detail">
2230 <strong>_onScrollTargetMouseOut
</strong>
2244 <div class=
"description">
2245 "mouseout" event handler for the menu's
"header" and
"footer"
2246 elements. Used to stop scrolling the body of the menu up and down when the
2247 menu's
"maxheight" configuration property is set to a value greater than
0.
2250 <div class=
"description">
2253 <dt>Parameters:
</dt>
2255 <code>p_oEvent
<Event
></code>
2256 Object representing the DOM event object passed
2257 back by the event utility (YAHOO.util.Event).
2260 <code>p_oMenu
<YAHOO.widget.Menu
></code>
2261 Object representing the menu that
2279 <a name=
"_onScrollTargetMouseOver">_onScrollTargetMouseOver
</a></h4>
2280 <div class=
"detail">
2286 <strong>_onScrollTargetMouseOver
</strong>
2300 <div class=
"description">
2301 "mouseover" event handler for the menu's
"header" and
"footer"
2302 elements. Used to scroll the body of the menu up and down when the
2303 menu's
"maxheight" configuration property is set to a value greater than
0.
2306 <div class=
"description">
2309 <dt>Parameters:
</dt>
2311 <code>p_oEvent
<Event
></code>
2312 Object representing the DOM event object passed
2313 back by the event utility (YAHOO.util.Event).
2316 <code>p_oMenu
<YAHOO.widget.Menu
></code>
2317 Object representing the menu that
2335 <a name=
"_onShow">_onShow
</a></h4>
2336 <div class=
"detail">
2342 <strong>_onShow
</strong>
2360 <div class=
"description">
2361 "show" event handler for the menu.
2364 <div class=
"description">
2367 <dt>Parameters:
</dt>
2369 <code>p_sType
<String
></code>
2370 String representing the name of the event that
2374 <code>p_aArgs
<Array
></code>
2375 Array of arguments sent when the event was fired.
2378 <code>p_oMenu
<YAHOO.widget.Menu
></code>
2379 Object representing the menu that fired
2397 <a name=
"_onSubmenuBeforeShow">_onSubmenuBeforeShow
</a></h4>
2398 <div class=
"detail">
2404 <strong>_onSubmenuBeforeShow
</strong>
2422 <div class=
"description">
2423 "beforeshow" event handler for a submenu.
2426 <div class=
"description">
2429 <dt>Parameters:
</dt>
2431 <code>p_sType
<String
></code>
2432 String representing the name of the event that
2436 <code>p_aArgs
<Array
></code>
2437 Array of arguments sent when the event was fired.
2440 <code>p_oSubmenu
<YAHOO.widget.Menu
></code>
2441 Object representing the submenu that
2442 subscribed to the event.
2459 <a name=
"_onSubmenuHide">_onSubmenuHide
</a></h4>
2460 <div class=
"detail">
2466 <strong>_onSubmenuHide
</strong>
2484 <div class=
"description">
2485 "hide" Custom Event handler for a submenu.
2488 <div class=
"description">
2491 <dt>Parameters:
</dt>
2493 <code>p_sType
<String
></code>
2494 String representing the name of the event that
2498 <code>p_aArgs
<Array
></code>
2499 Array of arguments sent when the event was fired.
2502 <code>p_oSubmenu
<YAHOO.widget.Menu
></code>
2503 Object representing the submenu that
2504 subscribed to the event.
2521 <a name=
"_onSubmenuShow">_onSubmenuShow
</a></h4>
2522 <div class=
"detail">
2528 <strong>_onSubmenuShow
</strong>
2546 <div class=
"description">
2547 "show" event handler for a submenu.
2550 <div class=
"description">
2553 <dt>Parameters:
</dt>
2555 <code>p_sType
<String
></code>
2556 String representing the name of the event that
2560 <code>p_aArgs
<Array
></code>
2561 Array of arguments sent when the event was fired.
2564 <code>p_oSubmenu
<YAHOO.widget.Menu
></code>
2565 Object representing the submenu that
2566 subscribed to the event.
2583 <a name=
"_onTextResize">_onTextResize
</a></h4>
2584 <div class=
"detail">
2590 <strong>_onTextResize
</strong>
2608 <div class=
"description">
2609 "textresize" event handler for the menu.
2612 <div class=
"description">
2615 <dt>Parameters:
</dt>
2617 <code>p_sType
<String
></code>
2618 String representing the name of the event that
2622 <code>p_aArgs
<Array
></code>
2623 Array of arguments sent when the event was fired.
2626 <code>p_oMenu
<YAHOO.widget.Menu
></code>
2627 Object representing the menu that
2645 <a name=
"_removeItemFromGroupByIndex">_removeItemFromGroupByIndex
</a></h4>
2646 <div class=
"detail">
2651 YAHOO.widget.MenuItem
2652 <strong>_removeItemFromGroupByIndex
</strong>
2666 <div class=
"description">
2667 Removes a menu item from a group by index. Returns the menu
2668 item that was removed.
2671 <div class=
"description">
2674 <dt>Parameters:
</dt>
2676 <code>p_nGroupIndex
<Number
></code>
2677 Number indicating the group to which the menu
2681 <code>p_nItemIndex
<Number
></code>
2682 Number indicating the index of the menu item
2690 YAHOO.widget.MenuItem
2700 <a name=
"_removeItemFromGroupByValue">_removeItemFromGroupByValue
</a></h4>
2701 <div class=
"detail">
2706 YAHOO.widget.MenuItem
2707 <strong>_removeItemFromGroupByValue
</strong>
2721 <div class=
"description">
2722 Removes a menu item from a group by reference. Returns the
2723 menu item that was removed.
2726 <div class=
"description">
2729 <dt>Parameters:
</dt>
2731 <code>p_nGroupIndex
<Number
></code>
2732 Number indicating the group to which the
2736 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
2737 Object reference for the MenuItem
2738 instance to be removed.
2745 YAHOO.widget.MenuItem
2755 <a name=
"_setWidth">_setWidth
</a></h4>
2756 <div class=
"detail">
2762 <strong>_setWidth
</strong>
2767 <div class=
"description">
2768 Sets the width of the menu's root
<code><div
></code>
2769 element to its offsetWidth.
2772 <div class=
"description">
2788 <a name=
"_subscribeToItemEvents">_subscribeToItemEvents
</a></h4>
2789 <div class=
"detail">
2795 <strong>_subscribeToItemEvents
</strong>
2805 <div class=
"description">
2806 Subscribes a menu to a menu item's event.
2809 <div class=
"description">
2812 <dt>Parameters:
</dt>
2814 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
2815 Object reference for the MenuItem
2816 instance whose events should be subscribed to.
2833 <a name=
"_updateItemProperties">_updateItemProperties
</a></h4>
2834 <div class=
"detail">
2840 <strong>_updateItemProperties
</strong>
2850 <div class=
"description">
2851 Updates the
"index," "groupindex," and
"className" properties
2852 of the menu items in the specified group.
2855 <div class=
"description">
2858 <dt>Parameters:
</dt>
2860 <code>p_nGroupIndex
<Number
></code>
2861 Number indicating the group of items to update.
2878 <a name=
"addItem">addItem
</a></h4>
2879 <div class=
"detail">
2884 YAHOO.widget.MenuItem
2885 <strong>addItem
</strong>
2903 <div class=
"description">
2904 Appends an item to the menu.
2907 <div class=
"description">
2910 <dt>Parameters:
</dt>
2912 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
2913 Object reference for the MenuItem
2914 instance to be added to the menu.
2917 <code>p_oItem
<String
></code>
2918 String specifying the text of the item to be added
2922 <code>p_oItem
<Object
></code>
2923 Object literal containing a set of menu item
2924 configuration properties.
2927 <code>p_nGroupIndex
<Number
></code>
2928 Optional. Number indicating the group to
2929 which the item belongs.
2936 YAHOO.widget.MenuItem
2946 <a name=
"addItems">addItems
</a></h4>
2947 <div class=
"detail">
2953 <strong>addItems
</strong>
2967 <div class=
"description">
2968 Adds an array of items to the menu.
2971 <div class=
"description">
2974 <dt>Parameters:
</dt>
2976 <code>p_aItems
<Array
></code>
2977 Array of items to be added to the menu. The array
2978 can contain strings specifying the text for each item to be created, object
2979 literals specifying each of the menu item configuration properties,
2980 or MenuItem instances.
2983 <code>p_nGroupIndex
<Number
></code>
2984 Optional. Number specifying the group to
2985 which the items belongs.
3002 <a name=
"clearActiveItem">clearActiveItem
</a></h4>
3003 <div class=
"detail">
3009 <strong>clearActiveItem
</strong>
3019 <div class=
"description">
3020 Sets the
"selected" configuration property of the menu's active
3021 item to
"false" and hides the item's submenu.
3024 <div class=
"description">
3027 <dt>Parameters:
</dt>
3029 <code>p_bBlur
<Boolean
></code>
3030 Boolean indicating if the menu's active item
3048 <a name=
"clearContent">clearContent
</a></h4>
3049 <div class=
"detail">
3055 <strong>clearContent
</strong>
3060 <div class=
"description">
3061 Removes all of the content from the menu, including the menu
3062 items, group titles, header and footer.
3065 <div class=
"description">
3081 <a name=
"configClassName">configClassName
</a></h4>
3082 <div class=
"detail">
3088 <strong>configClassName
</strong>
3106 <div class=
"description">
3107 Event handler for when the
"classname" configuration property of
3111 <div class=
"description">
3114 <dt>Parameters:
</dt>
3116 <code>p_sType
<String
></code>
3117 The name of the event that was fired.
3120 <code>p_aArgs
<Array
></code>
3121 Collection of arguments sent when the event was fired.
3124 <code>p_oMenu
<YAHOO.widget.Menu
></code>
3125 The Menu instance fired the event.
3142 <a name=
"configContainer">configContainer
</a></h4>
3143 <div class=
"detail">
3149 <strong>configContainer
</strong>
3167 <div class=
"description">
3168 Event handler for when the
"container" configuration property
3169 of the menu changes.
3172 <div class=
"description">
3175 <dt>Parameters:
</dt>
3177 <code>p_sType
<String
></code>
3178 String representing the name of the event that
3182 <code>p_aArgs
<Array
></code>
3183 Array of arguments sent when the event was fired.
3186 <code>p_oMenu
<YAHOO.widget.Menu
></code>
3187 Object representing the menu that
3205 <a name=
"configHideDelay">configHideDelay
</a></h4>
3206 <div class=
"detail">
3212 <strong>configHideDelay
</strong>
3230 <div class=
"description">
3231 Event handler for when the
"hidedelay" configuration property
3232 of the menu changes.
3235 <div class=
"description">
3238 <dt>Parameters:
</dt>
3240 <code>p_sType
<String
></code>
3241 String representing the name of the event that
3245 <code>p_aArgs
<Array
></code>
3246 Array of arguments sent when the event was fired.
3249 <code>p_oMenu
<YAHOO.widget.Menu
></code>
3250 Object representing the menu that
3268 <a name=
"configIframe">configIframe
</a></h4>
3269 <div class=
"detail">
3275 <strong>configIframe
</strong>
3293 <div class=
"description">
3294 Event handler for when the
"iframe" configuration property of
3298 <div class=
"description">
3301 <dt>Parameters:
</dt>
3303 <code>p_sType
<String
></code>
3304 String representing the name of the event that
3308 <code>p_aArgs
<Array
></code>
3309 Array of arguments sent when the event was fired.
3312 <code>p_oMenu
<YAHOO.widget.Menu
></code>
3313 Object representing the menu that
3331 <a name=
"configMaxHeight">configMaxHeight
</a></h4>
3332 <div class=
"detail">
3338 <strong>configMaxHeight
</strong>
3356 <div class=
"description">
3357 Event handler for when the
"maxheight" configuration property of
3361 <div class=
"description">
3364 <dt>Parameters:
</dt>
3366 <code>p_sType
<String
></code>
3367 The name of the event that was fired.
3370 <code>p_aArgs
<Array
></code>
3371 Collection of arguments sent when the event
3375 <code>p_oMenu
<YAHOO.widget.Menu
></code>
3376 The Menu instance fired
3394 <a name=
"configPosition">configPosition
</a></h4>
3395 <div class=
"detail">
3401 <strong>configPosition
</strong>
3419 <div class=
"description">
3420 Event handler for when the
"position" configuration property
3421 of the menu changes.
3424 <div class=
"description">
3427 <dt>Parameters:
</dt>
3429 <code>p_sType
<String
></code>
3430 String representing the name of the event that
3434 <code>p_aArgs
<Array
></code>
3435 Array of arguments sent when the event was fired.
3438 <code>p_oMenu
<YAHOO.widget.Menu
></code>
3439 Object representing the menu that
3457 <a name=
"configVisible">configVisible
</a></h4>
3458 <div class=
"detail">
3464 <strong>configVisible
</strong>
3482 <div class=
"description">
3483 Event handler for when the
"visible" configuration property
3487 <div class=
"description">
3490 <dt>Parameters:
</dt>
3492 <code>p_sType
<String
></code>
3493 String representing the name of the event that
3497 <code>p_aArgs
<Array
></code>
3498 Array of arguments sent when the event was fired.
3501 <code>p_oMenu
<YAHOO.widget.Menu
></code>
3502 Object representing the menu that
3520 <a name=
"destroy">destroy
</a></h4>
3521 <div class=
"detail">
3527 <strong>destroy
</strong>
3532 <div class=
"description">
3533 Removes the menu's
<code><div
></code> element
3534 (and accompanying child nodes) from the document.
3537 <div class=
"description">
3553 <a name=
"enforceConstraints">enforceConstraints
</a></h4>
3554 <div class=
"detail">
3560 <strong>enforceConstraints
</strong>
3578 <div class=
"description">
3579 The default event handler executed when the moveEvent is fired,
3580 if the
"constraintoviewport" configuration property is set to true.
3583 <div class=
"description">
3586 <dt>Parameters:
</dt>
3588 <code>type
<String
></code>
3589 The name of the event that was fired.
3592 <code>args
<Array
></code>
3593 Collection of arguments sent when the
3597 <code>obj
<Array
></code>
3598 Array containing the current Menu instance
3599 and the item that fired the event.
3616 <a name=
"getItem">getItem
</a></h4>
3617 <div class=
"detail">
3622 YAHOO.widget.MenuItem
3623 <strong>getItem
</strong>
3637 <div class=
"description">
3638 Returns the item at the specified index.
3641 <div class=
"description">
3644 <dt>Parameters:
</dt>
3646 <code>p_nItemIndex
<Number
></code>
3647 Number indicating the ordinal position of the
3648 item to be retrieved.
3651 <code>p_nGroupIndex
<Number
></code>
3652 Optional. Number indicating the group to which
3660 YAHOO.widget.MenuItem
3670 <a name=
"getItemGroups">getItemGroups
</a></h4>
3671 <div class=
"detail">
3677 <strong>getItemGroups
</strong>
3682 <div class=
"description">
3683 Multi-dimensional Array representing the menu items as they
3684 are grouped in the menu.
3687 <div class=
"description">
3703 <a name=
"getItems">getItems
</a></h4>
3704 <div class=
"detail">
3710 <strong>getItems
</strong>
3715 <div class=
"description">
3716 Returns an array of all of the items in the menu.
3719 <div class=
"description">
3735 <a name=
"getRoot">getRoot
</a></h4>
3736 <div class=
"detail">
3742 <strong>getRoot
</strong>
3747 <div class=
"description">
3748 Finds the menu's root menu.
3751 <div class=
"description">
3767 <a name=
"init">init
</a></h4>
3768 <div class=
"detail">
3774 <strong>init
</strong>
3794 <div class=
"description">
3795 The Menu class's initialization method. This method is
3796 automatically called by the constructor, and sets up all DOM references
3797 for pre-existing markup, and creates required markup if it is not
3801 <div class=
"description">
3804 <dt>Parameters:
</dt>
3806 <code>p_oElement
<String
></code>
3807 String specifying the id attribute of the
3808 <code><div
></code> element of the menu.
3811 <code>p_oElement
<String
></code>
3812 String specifying the id attribute of the
3813 <code><select
></code> element to be used as the data source
3817 <code>p_oElement
<<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
3818 level-one-html.html#ID-22445964">HTMLDivElement
</a>></code>
3820 specifying the
<code><div
></code> element of the menu.
3823 <code>p_oElement
<<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
3824 level-one-html.html#ID-94282980">HTMLSelectElement
</a>></code>
3826 Object specifying the
<code><select
></code> element to be used as
3827 the data source for the menu.
3830 <code>p_oConfig
<Object
></code>
3831 Optional. Object literal specifying the
3832 configuration for the menu. See configuration class documentation for
3850 <a name=
"initDefaultConfig">initDefaultConfig
</a></h4>
3851 <div class=
"detail">
3857 <strong>initDefaultConfig
</strong>
3862 <div class=
"description">
3863 Initializes the class's configurable properties which can be
3864 changed using the menu's Config object (
"cfg").
3867 <div class=
"description">
3883 <a name=
"initEvents">initEvents
</a></h4>
3884 <div class=
"detail">
3890 <strong>initEvents
</strong>
3895 <div class=
"description">
3896 Initializes the custom events for the menu.
3899 <div class=
"description">
3915 <a name=
"insertItem">insertItem
</a></h4>
3916 <div class=
"detail">
3921 YAHOO.widget.MenuItem
3922 <strong>insertItem
</strong>
3944 <div class=
"description">
3945 Inserts an item into the menu at the specified index.
3948 <div class=
"description">
3951 <dt>Parameters:
</dt>
3953 <code>p_oItem
<YAHOO.widget.MenuItem
></code>
3954 Object reference for the MenuItem
3955 instance to be added to the menu.
3958 <code>p_oItem
<String
></code>
3959 String specifying the text of the item to be added
3963 <code>p_oItem
<Object
></code>
3964 Object literal containing a set of menu item
3965 configuration properties.
3968 <code>p_nItemIndex
<Number
></code>
3969 Number indicating the ordinal position at which
3970 the item should be added.
3973 <code>p_nGroupIndex
<Number
></code>
3974 Optional. Number indicating the group to which
3982 YAHOO.widget.MenuItem
3992 <a name=
"removeItem">removeItem
</a></h4>
3993 <div class=
"detail">
3998 YAHOO.widget.MenuItem
3999 <strong>removeItem
</strong>
4015 <div class=
"description">
4016 Removes the specified item from the menu.
4019 <div class=
"description">
4022 <dt>Parameters:
</dt>
4024 <code>p_oObject
<YAHOO.widget.MenuItem
></code>
4025 Object reference for the MenuItem
4026 instance to be removed from the menu.
4029 <code>p_oObject
<Number
></code>
4030 Number specifying the index of the item
4034 <code>p_nGroupIndex
<Number
></code>
4035 Optional. Number specifying the group to
4036 which the item belongs.
4043 YAHOO.widget.MenuItem
4053 <a name=
"setInitialFocus">setInitialFocus
</a></h4>
4054 <div class=
"detail">
4060 <strong>setInitialFocus
</strong>
4065 <div class=
"description">
4066 Sets focus to the menu's first enabled item.
4069 <div class=
"description">
4085 <a name=
"setInitialSelection">setInitialSelection
</a></h4>
4086 <div class=
"detail">
4092 <strong>setInitialSelection
</strong>
4097 <div class=
"description">
4098 Sets the
"selected" configuration property of the menu's first
4099 enabled item to
"true."
4102 <div class=
"description">
4118 <a name=
"setItemGroupTitle">setItemGroupTitle
</a></h4>
4119 <div class=
"detail">
4125 <strong>setItemGroupTitle
</strong>
4139 <div class=
"description">
4140 Sets the title of a group of menu items.
4143 <div class=
"description">
4146 <dt>Parameters:
</dt>
4148 <code>p_sGroupTitle
<String
></code>
4149 String specifying the title of the group.
4152 <code>p_nGroupIndex
<Number
></code>
4153 Optional. Number specifying the group to which
4171 <a name=
"toString">toString
</a></h4>
4172 <div class=
"detail">
4178 <strong>toString
</strong>
4183 <div class=
"description">
4184 Returns a string representing the menu.
4187 <div class=
"description">
4205 <div class=
"section field inheritance">
4206 <h4>Methods inherited from
<a href=
"YAHOO.widget.Module.html">YAHOO.widget.Module
</a>:
</h4>
4207 <div class=
"content">
4210 <a href=
"YAHOO.widget.Module.html#appendToBody">appendToBody
</a>,
4211 <a href=
"YAHOO.widget.Module.html#appendToFooter">appendToFooter
</a>,
4212 <a href=
"YAHOO.widget.Module.html#appendToHeader">appendToHeader
</a>,
4213 <a href=
"YAHOO.widget.Module.html#configMonitorResize">configMonitorResize
</a>,
4214 <a href=
"YAHOO.widget.Module.html#configVisible">configVisible
</a>,
4215 <a href=
"YAHOO.widget.Module.html#destroy">destroy
</a>,
4216 <a href=
"YAHOO.widget.Module.html#hide">hide
</a>,
4217 <a href=
"YAHOO.widget.Module.html#init">init
</a>,
4218 <a href=
"YAHOO.widget.Module.html#initDefaultConfig">initDefaultConfig
</a>,
4219 <a href=
"YAHOO.widget.Module.html#initEvents">initEvents
</a>,
4220 <a href=
"YAHOO.widget.Module.html#initResizeMonitor">initResizeMonitor
</a>,
4221 <a href=
"YAHOO.widget.Module.html#onDomResize">onDomResize
</a>,
4222 <a href=
"YAHOO.widget.Module.html#render">render
</a>,
4223 <a href=
"YAHOO.widget.Module.html#setBody">setBody
</a>,
4224 <a href=
"YAHOO.widget.Module.html#setFooter">setFooter
</a>,
4225 <a href=
"YAHOO.widget.Module.html#setHeader">setHeader
</a>,
4226 <a href=
"YAHOO.widget.Module.html#show">show
</a>,
4227 <a href=
"YAHOO.widget.Module.html#toString">toString
</a>
4231 <div class=
"section field inheritance">
4232 <h4>Methods inherited from
<a href=
"YAHOO.widget.Overlay.html">YAHOO.widget.Overlay
</a>:
</h4>
4233 <div class=
"content">
4236 <a href=
"YAHOO.widget.Overlay.html#align">align
</a>,
4237 <a href=
"YAHOO.widget.Overlay.html#center">center
</a>,
4238 <a href=
"YAHOO.widget.Overlay.html#configConstrainToViewport">configConstrainToViewport
</a>,
4239 <a href=
"YAHOO.widget.Overlay.html#configContext">configContext
</a>,
4240 <a href=
"YAHOO.widget.Overlay.html#configFixedCenter">configFixedCenter
</a>,
4241 <a href=
"YAHOO.widget.Overlay.html#configHeight">configHeight
</a>,
4242 <a href=
"YAHOO.widget.Overlay.html#configIframe">configIframe
</a>,
4243 <a href=
"YAHOO.widget.Overlay.html#configVisible">configVisible
</a>,
4244 <a href=
"YAHOO.widget.Overlay.html#configWidth">configWidth
</a>,
4245 <a href=
"YAHOO.widget.Overlay.html#configX">configX
</a>,
4246 <a href=
"YAHOO.widget.Overlay.html#configXY">configXY
</a>,
4247 <a href=
"YAHOO.widget.Overlay.html#configY">configY
</a>,
4248 <a href=
"YAHOO.widget.Overlay.html#configzIndex">configzIndex
</a>,
4249 <a href=
"YAHOO.widget.Overlay.html#destroy">destroy
</a>,
4250 <a href=
"YAHOO.widget.Overlay.html#doCenterOnDOMEvent">doCenterOnDOMEvent
</a>,
4251 <a href=
"YAHOO.widget.Overlay.html#enforceConstraints">enforceConstraints
</a>,
4252 <a href=
"YAHOO.widget.Overlay.html#hideIframe">hideIframe
</a>,
4253 <a href=
"YAHOO.widget.Overlay.html#hideMacGeckoScrollbars">hideMacGeckoScrollbars
</a>,
4254 <a href=
"YAHOO.widget.Overlay.html#init">init
</a>,
4255 <a href=
"YAHOO.widget.Overlay.html#initDefaultConfig">initDefaultConfig
</a>,
4256 <a href=
"YAHOO.widget.Overlay.html#initEvents">initEvents
</a>,
4257 <a href=
"YAHOO.widget.Overlay.html#moveTo">moveTo
</a>,
4258 <a href=
"YAHOO.widget.Overlay.html#onDomResize">onDomResize
</a>,
4259 <a href=
"YAHOO.widget.Overlay.html#showIframe">showIframe
</a>,
4260 <a href=
"YAHOO.widget.Overlay.html#showMacGeckoScrollbars">showMacGeckoScrollbars
</a>,
4261 <a href=
"YAHOO.widget.Overlay.html#syncPosition">syncPosition
</a>,
4262 <a href=
"YAHOO.widget.Overlay.html#toString">toString
</a>
4267 <div class=
"section method details">
4268 <h3><a name=
"methodDetails">Events
</a></h3>
4269 <div class=
"content">
4271 <a name=
"clickEvent">clickEvent
</a></h4>
4272 <div class=
"detail">
4277 <strong>clickEvent
</strong>
4284 <div class=
"description">
4285 Fires when the user clicks the on the menu. Passes back the
4286 DOM Event object as an argument.
4289 <div class=
"description">
4299 <a name=
"itemAddedEvent">itemAddedEvent
</a></h4>
4300 <div class=
"detail">
4305 <strong>itemAddedEvent
</strong>
4312 <div class=
"description">
4313 Fires when an item is added to the menu.
4316 <div class=
"description">
4326 <a name=
"itemRemovedEvent">itemRemovedEvent
</a></h4>
4327 <div class=
"detail">
4332 <strong>itemRemovedEvent
</strong>
4339 <div class=
"description">
4340 Fires when an item is removed to the menu.
4343 <div class=
"description">
4353 <a name=
"keyDownEvent">keyDownEvent
</a></h4>
4354 <div class=
"detail">
4359 <strong>keyDownEvent
</strong>
4366 <div class=
"description">
4367 Fires when the user presses a key when one of the menu's items
4368 has focus. Passes back the DOM Event object as an argument.
4371 <div class=
"description">
4381 <a name=
"keyPressEvent">keyPressEvent
</a></h4>
4382 <div class=
"detail">
4387 <strong>keyPressEvent
</strong>
4394 <div class=
"description">
4395 Fires when the user presses an alphanumeric key when one of the
4396 menu's items has focus. Passes back the DOM Event object as an argument.
4399 <div class=
"description">
4409 <a name=
"keyUpEvent">keyUpEvent
</a></h4>
4410 <div class=
"detail">
4415 <strong>keyUpEvent
</strong>
4422 <div class=
"description">
4423 Fires when the user releases a key when one of the menu's items
4424 has focus. Passes back the DOM Event object as an argument.
4427 <div class=
"description">
4437 <a name=
"mouseDownEvent">mouseDownEvent
</a></h4>
4438 <div class=
"detail">
4443 <strong>mouseDownEvent
</strong>
4450 <div class=
"description">
4451 Fires when the user mouses down on the menu. Passes back the
4452 DOM Event object as an argument.
4455 <div class=
"description">
4465 <a name=
"mouseOutEvent">mouseOutEvent
</a></h4>
4466 <div class=
"detail">
4471 <strong>mouseOutEvent
</strong>
4478 <div class=
"description">
4479 Fires when the mouse has left the menu. Passes back the DOM
4480 Event object as an argument.
4483 <div class=
"description">
4493 <a name=
"mouseOverEvent">mouseOverEvent
</a></h4>
4494 <div class=
"detail">
4499 <strong>mouseOverEvent
</strong>
4506 <div class=
"description">
4507 Fires when the mouse has entered the menu. Passes back
4508 the DOM Event object as an argument.
4511 <div class=
"description">
4521 <a name=
"mouseUpEvent">mouseUpEvent
</a></h4>
4522 <div class=
"detail">
4527 <strong>mouseUpEvent
</strong>
4534 <div class=
"description">
4535 Fires when the user releases a mouse button while the mouse is
4536 over the menu. Passes back the DOM Event object as an argument.
4539 <div class=
"description">
4552 <div class=
"section field inheritance">
4553 <h4>Events inherited from
<a href=
"YAHOO.widget.Module.html">YAHOO.widget.Module
</a>:
</h4>
4554 <div class=
"content">
4557 <a href=
"YAHOO.widget.Module.html#appendEvent">appendEvent
</a>,
4558 <a href=
"YAHOO.widget.Module.html#beforeHideEvent">beforeHideEvent
</a>,
4559 <a href=
"YAHOO.widget.Module.html#beforeInitEvent">beforeInitEvent
</a>,
4560 <a href=
"YAHOO.widget.Module.html#beforeRenderEvent">beforeRenderEvent
</a>,
4561 <a href=
"YAHOO.widget.Module.html#beforeShowEvent">beforeShowEvent
</a>,
4562 <a href=
"YAHOO.widget.Module.html#changeBodyEvent">changeBodyEvent
</a>,
4563 <a href=
"YAHOO.widget.Module.html#changeContentEvent">changeContentEvent
</a>,
4564 <a href=
"YAHOO.widget.Module.html#changeFooterEvent">changeFooterEvent
</a>,
4565 <a href=
"YAHOO.widget.Module.html#changeHeaderEvent">changeHeaderEvent
</a>,
4566 <a href=
"YAHOO.widget.Module.html#destroyEvent">destroyEvent
</a>,
4567 <a href=
"YAHOO.widget.Module.html#hideEvent">hideEvent
</a>,
4568 <a href=
"YAHOO.widget.Module.html#initEvent">initEvent
</a>,
4569 <a href=
"YAHOO.widget.Module.html#renderEvent">renderEvent
</a>,
4570 <a href=
"YAHOO.widget.Module.html#showEvent">showEvent
</a>,
4571 <a href=
"YAHOO.widget.Module.html#YAHOO.widget.Module.textResizeEvent">YAHOO.widget.Module.textResizeEvent
</a>
4575 <div class=
"section field inheritance">
4576 <h4>Events inherited from
<a href=
"YAHOO.widget.Overlay.html">YAHOO.widget.Overlay
</a>:
</h4>
4577 <div class=
"content">
4580 <a href=
"YAHOO.widget.Overlay.html#beforeMoveEvent">beforeMoveEvent
</a>,
4581 <a href=
"YAHOO.widget.Overlay.html#moveEvent">moveEvent
</a>,
4582 <a href=
"YAHOO.widget.Overlay.html#YAHOO.widget.Overlay.windowResizeEvent">YAHOO.widget.Overlay.windowResizeEvent
</a>,
4583 <a href=
"YAHOO.widget.Overlay.html#YAHOO.widget.Overlay.windowScrollEvent">YAHOO.widget.Overlay.windowScrollEvent
</a>
4588 <div class=
"section field details">
4589 <h3><a name=
"field_detail">Configuration Attributes
</a></h3>
4590 <div class=
"content">
4591 <h4><a name=
"autosubmenudisplay">autosubmenudisplay
</a>
4592 <code>- Boolean
</code>
4594 <div class=
"detail">
4595 <div class=
"description">
4596 Boolean indicating if submenus are automatically made
4597 visible when the user mouses over the menu's items.
4602 <div class=
"default">
4607 <h4><a name=
"classname">classname
</a>
4608 <code>- String
</code>
4610 <div class=
"detail">
4611 <div class=
"description">
4612 CSS class to be applied to the menu's root
4613 <code><div
></code> element. The specified class(es) are
4614 appended in addition to the default class as specified by the menu's
4615 CSS_CLASS_NAME constant.
4620 <div class=
"default">
4625 <h4><a name=
"clicktohide">clicktohide
</a>
4626 <code>- Boolean
</code>
4628 <div class=
"detail">
4629 <div class=
"description">
4630 Boolean indicating if the menu will automatically be
4631 hidden if the user clicks outside of it.
4636 <div class=
"default">
4641 <h4><a name=
"constraintoviewport">constraintoviewport
</a>
4642 <code>- Boolean
</code>
4644 <div class=
"detail">
4645 <div class=
"description">
4646 Boolean indicating if the menu will try to remain inside
4647 the boundaries of the size of viewport.
4652 <div class=
"default">
4657 <h4><a name=
"container">container
</a>
4658 <code>-
<a href=
"http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4659 level-one-html.html#ID-58190037">HTMLElement
</a>|String
</code>
4661 <div class=
"detail">
4662 <div class=
"description">
4663 HTML element reference or string specifying the id
4664 attribute of the HTML element that the menu's markup should be
4670 <div class=
"default">
4671 Default Value: document.body
4675 <h4><a name=
"hidedelay">hidedelay
</a>
4676 <code>- Number
</code>
4678 <div class=
"detail">
4679 <div class=
"description">
4680 Number indicating the time (in milliseconds) that should
4681 expire before the menu is hidden.
4686 <div class=
"default">
4691 <h4><a name=
"maxheight">maxheight
</a>
4692 <code>- Number
</code>
4694 <div class=
"detail">
4695 <div class=
"description">
4696 Defines the maximum height (in pixels) for a menu before the
4697 contents of the body are scrolled.
4702 <div class=
"default">
4707 <h4><a name=
"position">position
</a>
4708 <code>- String
</code>
4710 <div class=
"detail">
4711 <div class=
"description">
4712 String indicating how a menu should be positioned on the
4713 screen. Possible values are
"static" and
"dynamic." Static menus are
4714 visible by default and reside in the normal flow of the document
4715 (CSS position: static). Dynamic menus are hidden by default, reside
4716 out of the normal flow of the document (CSS position: absolute), and
4717 can overlay other elements on the screen.
4722 <div class=
"default">
4723 Default Value: dynamic
4727 <h4><a name=
"showdelay">showdelay
</a>
4728 <code>- Number
</code>
4730 <div class=
"detail">
4731 <div class=
"description">
4732 Number indicating the time (in milliseconds) that should
4733 expire before a submenu is made visible when the user mouses over
4739 <div class=
"default">
4744 <h4><a name=
"submenualignment">submenualignment
</a>
4745 <code>- Array
</code>
4747 <div class=
"detail">
4748 <div class=
"description">
4749 Array defining how submenus should be aligned to their
4750 parent menu item. The format is: [itemCorner, submenuCorner]. By default
4751 a submenu's top left corner is aligned to its parent menu item's top
4757 <div class=
"default">
4758 Default Value: [
"tl",
"tr"]
4762 <h4><a name=
"submenuhidedelay">submenuhidedelay
</a>
4763 <code>- Number
</code>
4765 <div class=
"detail">
4766 <div class=
"description">
4767 Number indicating the time (in milliseconds) that should
4768 expire before a submenu is hidden when the user mouses out of a menu item
4769 heading in the direction of a submenu. The value must be greater than or
4770 equal to the value specified for the
"showdelay" configuration property.
4775 <div class=
"default">
4780 <h4><a name=
"visible">visible
</a>
4781 <code>- Boolean
</code>
4783 <div class=
"detail">
4784 <div class=
"description">
4785 Boolean indicating whether or not the menu is visible. If
4786 the menu's
"position" configuration property is set to
"dynamic" (the
4787 default), this property toggles the menu's
<code><div
></code>
4788 element's
"visibility" style property between
"visible" (true) or
4789 "hidden" (false). If the menu's
"position" configuration property is
4790 set to
"static" this property toggles the menu's
4791 <code><div
></code> element's
"display" style property
4792 between
"block" (true) or
"none" (false).
4797 <div class=
"default">
4798 Default Value: false
4806 <div class=
"section field inheritance">
4807 <h4>Configuration attributes inherited from
<a href=
"YAHOO.widget.Module.html">YAHOO.widget.Module
</a>:
</h4>
4808 <div class=
"content">
4811 <a href=
"YAHOO.widget.Module.html#effect">effect
</a>,
4812 <a href=
"YAHOO.widget.Module.html#monitorresize">monitorresize
</a>,
4813 <a href=
"YAHOO.widget.Module.html#visible">visible
</a>
4817 <div class=
"section field inheritance">
4818 <h4>Configuration attributes inherited from
<a href=
"YAHOO.widget.Overlay.html">YAHOO.widget.Overlay
</a>:
</h4>
4819 <div class=
"content">
4822 <a href=
"YAHOO.widget.Overlay.html#constraintoviewport">constraintoviewport
</a>,
4823 <a href=
"YAHOO.widget.Overlay.html#context">context
</a>,
4824 <a href=
"YAHOO.widget.Overlay.html#fixedcenter">fixedcenter
</a>,
4825 <a href=
"YAHOO.widget.Overlay.html#height">height
</a>,
4826 <a href=
"YAHOO.widget.Overlay.html#iframe">iframe
</a>,
4827 <a href=
"YAHOO.widget.Overlay.html#width">width
</a>,
4828 <a href=
"YAHOO.widget.Overlay.html#x">x
</a>,
4829 <a href=
"YAHOO.widget.Overlay.html#xy">xy
</a>,
4830 <a href=
"YAHOO.widget.Overlay.html#y">y
</a>,
4831 <a href=
"YAHOO.widget.Overlay.html#zIndex">zIndex
</a>
4841 <div class=
"module">
4843 <ul class=
"content">
4845 <li class=
""><a href=
"module_animation.html">animation
</a></li>
4847 <li class=
""><a href=
"module_autocomplete.html">autocomplete
</a></li>
4849 <li class=
""><a href=
"module_button.html">button
</a></li>
4851 <li class=
""><a href=
"module_calendar.html">calendar
</a></li>
4853 <li class=
""><a href=
"module_connection.html">connection
</a></li>
4855 <li class=
""><a href=
"module_container.html">container
</a></li>
4857 <li class=
""><a href=
"module_datasource.html">datasource
</a></li>
4859 <li class=
""><a href=
"module_datatable.html">datatable
</a></li>
4861 <li class=
""><a href=
"module_dom.html">dom
</a></li>
4863 <li class=
""><a href=
"module_dragdrop.html">dragdrop
</a></li>
4865 <li class=
""><a href=
"module_element.html">element
</a></li>
4867 <li class=
""><a href=
"module_event.html">event
</a></li>
4869 <li class=
""><a href=
"module_history.html">history
</a></li>
4871 <li class=
""><a href=
"module_logger.html">logger
</a></li>
4873 <li class=
"selected"><a href=
"module_menu.html">menu
</a></li>
4875 <li class=
""><a href=
"module_slider.html">slider
</a></li>
4877 <li class=
""><a href=
"module_tabview.html">tabview
</a></li>
4879 <li class=
""><a href=
"module_treeview.html">treeview
</a></li>
4881 <li class=
""><a href=
"module_yahoo.html">yahoo
</a></li>
4885 <div class=
"module">
4887 <ul class=
"content">
4888 <li class=
""><a href=
"YAHOO.widget.ContextMenu.html">YAHOO.widget.ContextMenu
</a></li>
4889 <li class=
""><a href=
"YAHOO.widget.ContextMenuItem.html">YAHOO.widget.ContextMenuItem
</a></li>
4890 <li class=
"selected"><a href=
"YAHOO.widget.Menu.html">YAHOO.widget.Menu
</a></li>
4891 <li class=
""><a href=
"YAHOO.widget.Menubar.html">YAHOO.widget.Menubar
</a></li>
4892 <li class=
""><a href=
"YAHOO.widget.MenuBarItem.html">YAHOO.widget.MenuBarItem
</a></li>
4893 <li class=
""><a href=
"YAHOO.widget.MenuItem.html">YAHOO.widget.MenuItem
</a></li>
4894 <li class=
""><a href=
"YAHOO.widget.MenuManager.html">YAHOO.widget.MenuManager
</a></li>
4898 <div class=
"module">
4900 <ul class=
"content">
4901 <li class=
""><a href=
"contextmenu.js.html">contextmenu.js
</a></li>
4902 <li class=
""><a href=
"contextmenuitem.js.html">contextmenuitem.js
</a></li>
4903 <li class=
""><a href=
"menu.js.html">menu.js
</a></li>
4904 <li class=
""><a href=
"menubar.js.html">menubar.js
</a></li>
4905 <li class=
""><a href=
"menubaritem.js.html">menubaritem.js
</a></li>
4906 <li class=
""><a href=
"menuitem.js.html">menuitem.js
</a></li>
4907 <li class=
""><a href=
"menumanager.js.html">menumanager.js
</a></li>
4911 <div class=
"module">
4913 <ul class=
"content">
4914 <li><a href=
"#_aGroupTitleElements">_aGroupTitleElements
</a>
4915 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4916 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4917 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4918 html#ID-22445964">HTMLDivElement</a>></code>-->
4920 <li><a href=
"#_aItemGroups">_aItemGroups
</a>
4921 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4922 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4923 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4924 html#ID-22445964">HTMLDivElement</a>></code>-->
4926 <li><a href=
"#_aListElements">_aListElements
</a>
4927 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4928 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4929 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4930 html#ID-22445964">HTMLDivElement</a>></code>-->
4932 <li><a href=
"#_bHandledMouseOutEvent">_bHandledMouseOutEvent
</a>
4933 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4934 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4935 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4936 html#ID-22445964">HTMLDivElement</a>></code>-->
4938 <li><a href=
"#_bHandledMouseOverEvent">_bHandledMouseOverEvent
</a>
4939 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4940 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4941 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4942 html#ID-22445964">HTMLDivElement</a>></code>-->
4944 <li><a href=
"#_bHideDelayEventHandlersAssigned">_bHideDelayEventHandlersAssigned
</a>
4945 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4946 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4947 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4948 html#ID-22445964">HTMLDivElement</a>></code>-->
4950 <li><a href=
"#_bStopMouseEventHandlers">_bStopMouseEventHandlers
</a>
4951 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4952 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4953 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4954 html#ID-22445964">HTMLDivElement</a>></code>-->
4956 <li><a href=
"#_nBodyScrollId">_nBodyScrollId
</a>
4957 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4958 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4959 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4960 html#ID-22445964">HTMLDivElement</a>></code>-->
4962 <li><a href=
"#_nCurrentMouseX">_nCurrentMouseX
</a>
4963 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4964 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4965 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4966 html#ID-22445964">HTMLDivElement</a>></code>-->
4968 <li><a href=
"#_nHideDelayId">_nHideDelayId
</a>
4969 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4970 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4971 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4972 html#ID-22445964">HTMLDivElement</a>></code>-->
4974 <li><a href=
"#_nMaxHeight">_nMaxHeight
</a>
4975 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4976 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4977 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4978 html#ID-22445964">HTMLDivElement</a>></code>-->
4980 <li><a href=
"#_nShowDelayId">_nShowDelayId
</a>
4981 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4982 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4983 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4984 html#ID-22445964">HTMLDivElement</a>></code>-->
4986 <li><a href=
"#_nSubmenuHideDelayId">_nSubmenuHideDelayId
</a>
4987 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4988 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4989 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4990 html#ID-22445964">HTMLDivElement</a>></code>-->
4992 <li><a href=
"#_sClassName">_sClassName
</a>
4993 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
4994 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
4995 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
4996 html#ID-22445964">HTMLDivElement</a>></code>-->
4998 <li><a href=
"#activeItem">activeItem
</a>
4999 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
5000 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
5001 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
5002 html#ID-22445964">HTMLDivElement</a>></code>-->
5004 <li><a href=
"#CSS_CLASS_NAME">CSS_CLASS_NAME
</a>
5005 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
5006 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
5007 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
5008 html#ID-22445964">HTMLDivElement</a>></code>-->
5010 <li><a href=
"#GROUP_TITLE_TAG_NAME">GROUP_TITLE_TAG_NAME
</a>
5011 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
5012 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
5013 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
5014 html#ID-22445964">HTMLDivElement</a>></code>-->
5016 <li><a href=
"#ITEM_TYPE">ITEM_TYPE
</a>
5017 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
5018 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
5019 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
5020 html#ID-22445964">HTMLDivElement</a>></code>-->
5022 <li><a href=
"#itemData">itemData
</a>
5023 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
5024 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
5025 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
5026 html#ID-22445964">HTMLDivElement</a>></code>-->
5028 <li><a href=
"#lazyLoad">lazyLoad
</a>
5029 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
5030 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
5031 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
5032 html#ID-22445964">HTMLDivElement</a>></code>-->
5034 <li><a href=
"#parent">parent
</a>
5035 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
5036 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
5037 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
5038 html#ID-22445964">HTMLDivElement</a>></code>-->
5040 <li><a href=
"#srcElement">srcElement
</a>
5041 <!--<code><<a href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/
5042 level-one-html.html#ID-94282980">HTMLSelectElement</a>|<a
5043 href="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.
5044 html#ID-22445964">HTMLDivElement</a>></code>-->
5049 <div class=
"module">
5051 <ul class=
"content">
5052 <li><!--<code>YAHOO.widget.MenuItem</code>-->
5053 <a href=
"#_addItemToGroup">_addItemToGroup
</a>
5055 <li><!--<code>void</code>-->
5056 <a href=
"#_cancelHideDelay">_cancelHideDelay
</a>
5058 <li><!--<code>void</code>-->
5059 <a href=
"#_cancelShowDelay">_cancelShowDelay
</a>
5061 <li><!--<code>Boolean</code>-->
5062 <a href=
"#_checkPosition">_checkPosition
</a>
5064 <li><!--<code>void</code>-->
5065 <a href=
"#_configureSubmenu">_configureSubmenu
</a>
5067 <li><!--<code>Array</code>-->
5068 <a href=
"#_createItemGroup">_createItemGroup
</a>
5070 <li><!--<code>void</code>-->
5071 <a href=
"#_disableScrollFooter">_disableScrollFooter
</a>
5073 <li><!--<code>void</code>-->
5074 <a href=
"#_disableScrollHeader">_disableScrollHeader
</a>
5076 <li><!--<code>void</code>-->
5077 <a href=
"#_enableScrollFooter">_enableScrollFooter
</a>
5079 <li><!--<code>void</code>-->
5080 <a href=
"#_enableScrollHeader">_enableScrollHeader
</a>
5082 <li><!--<code>void</code>-->
5083 <a href=
"#_execHideDelay">_execHideDelay
</a>
5085 <li><!--<code>void</code>-->
5086 <a href=
"#_execShowDelay">_execShowDelay
</a>
5088 <li><!--<code>void</code>-->
5089 <a href=
"#_execSubmenuHideDelay">_execSubmenuHideDelay
</a>
5091 <li><!--<code>YAHOO.widget.MenuItem</code>-->
5092 <a href=
"#_getFirstEnabledItem">_getFirstEnabledItem
</a>
5094 <li><!--<code>Array</code>-->
5095 <a href=
"#_getItemGroup">_getItemGroup
</a>
5097 <li><!--<code>void</code>-->
5098 <a href=
"#_getOffsetWidth">_getOffsetWidth
</a>
5100 <li><!--<code>void</code>-->
5101 <a href=
"#_initSubTree">_initSubTree
</a>
5103 <li><!--<code>void</code>-->
5104 <a href=
"#_onBeforeHide">_onBeforeHide
</a>
5106 <li><!--<code>void</code>-->
5107 <a href=
"#_onBeforeRender">_onBeforeRender
</a>
5109 <li><!--<code>void</code>-->
5110 <a href=
"#_onBeforeShow">_onBeforeShow
</a>
5112 <li><!--<code>void</code>-->
5113 <a href=
"#_onClick">_onClick
</a>
5115 <li><!--<code>void</code>-->
5116 <a href=
"#_onHide">_onHide
</a>
5118 <li><!--<code>void</code>-->
5119 <a href=
"#_onInit">_onInit
</a>
5121 <li><!--<code>void</code>-->
5122 <a href=
"#_onKeyDown">_onKeyDown
</a>
5124 <li><!--<code>void</code>-->
5125 <a href=
"#_onKeyPress">_onKeyPress
</a>
5127 <li><!--<code>void</code>-->
5128 <a href=
"#_onMenuItemBlur">_onMenuItemBlur
</a>
5130 <li><!--<code>void</code>-->
5131 <a href=
"#_onMenuItemConfigChange">_onMenuItemConfigChange
</a>
5133 <li><!--<code>void</code>-->
5134 <a href=
"#_onMenuItemFocus">_onMenuItemFocus
</a>
5136 <li><!--<code>void</code>-->
5137 <a href=
"#_onMouseMove">_onMouseMove
</a>
5139 <li><!--<code>void</code>-->
5140 <a href=
"#_onMouseOut">_onMouseOut
</a>
5142 <li><!--<code>void</code>-->
5143 <a href=
"#_onMouseOver">_onMouseOver
</a>
5145 <li><!--<code>void</code>-->
5146 <a href=
"#_onParentMenuConfigChange">_onParentMenuConfigChange
</a>
5148 <li><!--<code>void</code>-->
5149 <a href=
"#_onParentMenuRender">_onParentMenuRender
</a>
5151 <li><!--<code>void</code>-->
5152 <a href=
"#_onScrollTargetMouseOut">_onScrollTargetMouseOut
</a>
5154 <li><!--<code>void</code>-->
5155 <a href=
"#_onScrollTargetMouseOver">_onScrollTargetMouseOver
</a>
5157 <li><!--<code>void</code>-->
5158 <a href=
"#_onShow">_onShow
</a>
5160 <li><!--<code>void</code>-->
5161 <a href=
"#_onSubmenuBeforeShow">_onSubmenuBeforeShow
</a>
5163 <li><!--<code>void</code>-->
5164 <a href=
"#_onSubmenuHide">_onSubmenuHide
</a>
5166 <li><!--<code>void</code>-->
5167 <a href=
"#_onSubmenuShow">_onSubmenuShow
</a>
5169 <li><!--<code>void</code>-->
5170 <a href=
"#_onTextResize">_onTextResize
</a>
5172 <li><!--<code>YAHOO.widget.MenuItem</code>-->
5173 <a href=
"#_removeItemFromGroupByIndex">_removeItemFromGroupByIndex
</a>
5175 <li><!--<code>YAHOO.widget.MenuItem</code>-->
5176 <a href=
"#_removeItemFromGroupByValue">_removeItemFromGroupByValue
</a>
5178 <li><!--<code>void</code>-->
5179 <a href=
"#_setWidth">_setWidth
</a>
5181 <li><!--<code>void</code>-->
5182 <a href=
"#_subscribeToItemEvents">_subscribeToItemEvents
</a>
5184 <li><!--<code>void</code>-->
5185 <a href=
"#_updateItemProperties">_updateItemProperties
</a>
5187 <li><!--<code>YAHOO.widget.MenuItem</code>-->
5188 <a href=
"#addItem">addItem
</a>
5190 <li><!--<code>Array</code>-->
5191 <a href=
"#addItems">addItems
</a>
5193 <li><!--<code>void</code>-->
5194 <a href=
"#clearActiveItem">clearActiveItem
</a>
5196 <li><!--<code>void</code>-->
5197 <a href=
"#clearContent">clearContent
</a>
5199 <li><!--<code>void</code>-->
5200 <a href=
"#configClassName">configClassName
</a>
5202 <li><!--<code>void</code>-->
5203 <a href=
"#configContainer">configContainer
</a>
5205 <li><!--<code>void</code>-->
5206 <a href=
"#configHideDelay">configHideDelay
</a>
5208 <li><!--<code>void</code>-->
5209 <a href=
"#configIframe">configIframe
</a>
5211 <li><!--<code>void</code>-->
5212 <a href=
"#configMaxHeight">configMaxHeight
</a>
5214 <li><!--<code>void</code>-->
5215 <a href=
"#configPosition">configPosition
</a>
5217 <li><!--<code>void</code>-->
5218 <a href=
"#configVisible">configVisible
</a>
5220 <li><!--<code>void</code>-->
5221 <a href=
"#destroy">destroy
</a>
5223 <li><!--<code>void</code>-->
5224 <a href=
"#enforceConstraints">enforceConstraints
</a>
5226 <li><!--<code>YAHOO.widget.MenuItem</code>-->
5227 <a href=
"#getItem">getItem
</a>
5229 <li><!--<code>Array</code>-->
5230 <a href=
"#getItemGroups">getItemGroups
</a>
5232 <li><!--<code>Array</code>-->
5233 <a href=
"#getItems">getItems
</a>
5235 <li><!--<code>void</code>-->
5236 <a href=
"#getRoot">getRoot
</a>
5238 <li><!--<code>void</code>-->
5239 <a href=
"#init">init
</a>
5241 <li><!--<code>void</code>-->
5242 <a href=
"#initDefaultConfig">initDefaultConfig
</a>
5244 <li><!--<code>void</code>-->
5245 <a href=
"#initEvents">initEvents
</a>
5247 <li><!--<code>YAHOO.widget.MenuItem</code>-->
5248 <a href=
"#insertItem">insertItem
</a>
5250 <li><!--<code>YAHOO.widget.MenuItem</code>-->
5251 <a href=
"#removeItem">removeItem
</a>
5253 <li><!--<code>void</code>-->
5254 <a href=
"#setInitialFocus">setInitialFocus
</a>
5256 <li><!--<code>void</code>-->
5257 <a href=
"#setInitialSelection">setInitialSelection
</a>
5259 <li><!--<code>void</code>-->
5260 <a href=
"#setItemGroupTitle">setItemGroupTitle
</a>
5262 <li><!--<code>String</code>-->
5263 <a href=
"#toString">toString
</a>
5268 <div class=
"module">
5270 <ul class=
"content">
5272 <a href=
"#clickEvent">clickEvent
</a>
5275 <a href=
"#itemAddedEvent">itemAddedEvent
</a>
5278 <a href=
"#itemRemovedEvent">itemRemovedEvent
</a>
5281 <a href=
"#keyDownEvent">keyDownEvent
</a>
5284 <a href=
"#keyPressEvent">keyPressEvent
</a>
5287 <a href=
"#keyUpEvent">keyUpEvent
</a>
5290 <a href=
"#mouseDownEvent">mouseDownEvent
</a>
5293 <a href=
"#mouseOutEvent">mouseOutEvent
</a>
5296 <a href=
"#mouseOverEvent">mouseOverEvent
</a>
5299 <a href=
"#mouseUpEvent">mouseUpEvent
</a>
5304 <div class=
"module">
5305 <h4>Configuration Attributes
</h4>
5306 <ul class=
"content">
5308 <a href=
"#autosubmenudisplay">autosubmenudisplay
</a>
5311 <a href=
"#classname">classname
</a>
5314 <a href=
"#clicktohide">clicktohide
</a>
5317 <a href=
"#constraintoviewport">constraintoviewport
</a>
5320 <a href=
"#container">container
</a>
5323 <a href=
"#hidedelay">hidedelay
</a>
5326 <a href=
"#maxheight">maxheight
</a>
5329 <a href=
"#position">position
</a>
5332 <a href=
"#showdelay">showdelay
</a>
5335 <a href=
"#submenualignment">submenualignment
</a>
5338 <a href=
"#submenuhidedelay">submenuhidedelay
</a>
5341 <a href=
"#visible">visible
</a>
5351 Copyright
© 2007 Yahoo! Inc. All rights reserved.