diff --git a/entries/menu.xml b/entries/menu.xml index 53de9ef6..f0b47188 100644 --- a/entries/menu.xml +++ b/entries/menu.xml @@ -5,23 +5,36 @@ Themeable menu with mouse and keyboard interactions for navigation. -

A menu can be created from any valid markup as long as the elements have a strict parent/child relationship. The most commonly used element is the unordered list (<ul>):

+

A menu can be created from any valid markup as long as the elements have a strict parent/child relationship. The most commonly used element is the unordered list (<ul>). Additionally, the contents of each menu item must be wrapped with a block-level DOM element. In the example below <div> elements are used as wrappers:

@@ -35,20 +48,26 @@

Menu automatically adds the necessary padding to items without icons.

Dividers

-

Divider elements can be created by including unlinked menu items that contain only spaces and/or dashes:

+

Divider elements can be created by including menu items that contain only spaces and/or dashes:

@@ -76,7 +95,12 @@
  • ui-menu-item: The container for individual menu items.
  • ui-menu-divider: Divider elements between menu items.
  • @@ -167,7 +191,7 @@ - Activates a particular menu item, begins opening any sub-menu if present and triggers the menu's focus event. + Activates the given menu item and triggers the menu's focus event. Opens the menu item's sub-menu, if one exists. What triggered the menu item to gain focus. @@ -318,19 +342,32 @@ $( "#menu" ).menu(); ]]>