From 17f8079bc2ce4393d49e7dba238feaff1fddb134 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Wed, 21 Apr 2010 21:01:08 +0200 Subject: Menu: Extracted menu code from autocomplete, updated all dependencies --- demos/autocomplete/categories.html | 1 + demos/autocomplete/combobox.html | 1 + demos/autocomplete/custom-data.html | 1 + demos/autocomplete/default.html | 1 + demos/autocomplete/folding.html | 1 + demos/autocomplete/multiple-remote.html | 1 + demos/autocomplete/multiple.html | 1 + demos/autocomplete/remote-jsonp.html | 1 + demos/autocomplete/remote-with-cache.html | 1 + demos/autocomplete/remote.html | 1 + demos/autocomplete/xml.html | 1 + 11 files changed, 11 insertions(+) (limited to 'demos') diff --git a/demos/autocomplete/categories.html b/demos/autocomplete/categories.html index bb59bf31e..2a2ac2f48 100644 --- a/demos/autocomplete/categories.html +++ b/demos/autocomplete/categories.html @@ -8,6 +8,7 @@ + + + + +
+ + + + +
+ +
+ +
+ +

A simple contextmenu: Click the button, or tab to it and hit space to open the menu. Use the mouse or cursor keys to select an item, click it or hit enter to select it.

+ +

The keyboard handling is part of the menu. Using the input option to menu is configured to add the key event handlers to the button, as that button gets focused when clicked.

+ +
+ + + + + diff --git a/demos/menu/default.html b/demos/menu/default.html new file mode 100644 index 000000000..6a2cb5280 --- /dev/null +++ b/demos/menu/default.html @@ -0,0 +1,60 @@ + + + + + jQuery UI Menu - Default demo + + + + + + + + + + + +
+ + + +
+ +
+ +

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

+ +
+ + + + + diff --git a/demos/menu/index.html b/demos/menu/index.html new file mode 100644 index 000000000..cfc12bc1d --- /dev/null +++ b/demos/menu/index.html @@ -0,0 +1,17 @@ + + + + + jQuery UI Menu Demos + + + +
+

Examples

+ +
+ + -- cgit v1.2.3 From fa27e0f6117557d978346b19786c261d76e2e8bd Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Sat, 19 Jun 2010 16:37:39 +0200 Subject: Menu demos: Restrict selectors to demo elements; add menu to demos/index.html --- demos/index.html | 2 ++ demos/menu/contextmenu.html | 8 +++++++- demos/menu/default.html | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) (limited to 'demos') diff --git a/demos/index.html b/demos/index.html index db3e2bf83..6d14ee6bd 100644 --- a/demos/index.html +++ b/demos/index.html @@ -18,6 +18,7 @@ + @@ -265,6 +266,7 @@
Button
Datepicker
Dialog
+
Menu
Progressbar
Slider
Tabs
diff --git a/demos/menu/contextmenu.html b/demos/menu/contextmenu.html index 1c4a6ddd4..682d016dc 100644 --- a/demos/menu/contextmenu.html +++ b/demos/menu/contextmenu.html @@ -9,10 +9,16 @@ + @@ -39,8 +52,15 @@
- - +
+ + +
+
@@ -49,7 +69,7 @@
-

An example of a split button built with two buttons: A plan button with just text, one with only a primary icon +

An example of a split button built with two buttons: A plain button with just text, one with only a primary icon and no text. Both are grouped together in a set.

-- cgit v1.2.3