From 568aec62d977af89a5a1aa0f9dbf1301b8df0ea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Zaefferer?= Date: Tue, 23 Oct 2012 14:03:04 -0400 Subject: [PATCH] Menu: Remove stupid demos, add an icons demo, improve the default demo --- demos/menu/default.html | 57 +++++++++++++++------- demos/menu/icons.html | 44 +++++++++++++++++ demos/menu/index.html | 3 +- demos/menu/navigationmenu.html | 74 ----------------------------- demos/menu/topalignmenu.html | 87 ---------------------------------- 5 files changed, 86 insertions(+), 179 deletions(-) create mode 100644 demos/menu/icons.html delete mode 100644 demos/menu/navigationmenu.html delete mode 100644 demos/menu/topalignmenu.html diff --git a/demos/menu/default.html b/demos/menu/default.html index 27b1f249c..5b535856b 100644 --- a/demos/menu/default.html +++ b/demos/menu/default.html @@ -7,6 +7,7 @@ + +
-

A menu with the default configuration. A list is transformed, adding theming, mouse and keyboard navigation support. Try to tab to the menu then use the cursor keys to navigate.

+

A menu with the default configuration, disabled items and nested menus. A list is transformed, adding theming, mouse and keyboard navigation support. Try to tab to the menu then use the cursor keys to navigate.

diff --git a/demos/menu/icons.html b/demos/menu/icons.html new file mode 100644 index 000000000..b7a04e665 --- /dev/null +++ b/demos/menu/icons.html @@ -0,0 +1,44 @@ + + + + + jQuery UI Menu - Icons + + + + + + + + + + + + + + +
+

A menu with the default configuration, showing how to use a menu with icons.

+
+ + diff --git a/demos/menu/index.html b/demos/menu/index.html index 07556c6ec..40e9e0b54 100644 --- a/demos/menu/index.html +++ b/demos/menu/index.html @@ -8,8 +8,7 @@ diff --git a/demos/menu/navigationmenu.html b/demos/menu/navigationmenu.html deleted file mode 100644 index c2bb307ba..000000000 --- a/demos/menu/navigationmenu.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - jQuery UI Menu - Navigation Menu - - - - - - - - - - - - - - -
-

A navigation menu. A list is transformed, adding theming, mouse and keyboard navigation support. Try to tab to the menu then use the cursor keys to navigate.

-
- - diff --git a/demos/menu/topalignmenu.html b/demos/menu/topalignmenu.html deleted file mode 100644 index 4f34b98c2..000000000 --- a/demos/menu/topalignmenu.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - Menu Demo: Top-aligned Menu - - - - - - - - - - - - - - -
-

Menus can use custom positioning. There is a delay before activing an item on hover and a delay before closing a menu on mouse out to allow for moving to a submenu that is not touching its parent item.

-
- -