From f1edd5b62e61e675af8130c78d256e23fee2d588 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Fri, 18 Jun 2010 10:23:41 +0200 Subject: [PATCH] Menu: default and contextmenu demos --- demos/menu/contextmenu.html | 76 +++++++++++++++++++++++++++++++++++++ demos/menu/default.html | 60 +++++++++++++++++++++++++++++ demos/menu/index.html | 17 +++++++++ 3 files changed, 153 insertions(+) create mode 100644 demos/menu/contextmenu.html create mode 100644 demos/menu/default.html create mode 100644 demos/menu/index.html diff --git a/demos/menu/contextmenu.html b/demos/menu/contextmenu.html new file mode 100644 index 000000000..1c4a6ddd4 --- /dev/null +++ b/demos/menu/contextmenu.html @@ -0,0 +1,76 @@ + + + + + jQuery UI Menu - Contextmenu demo + + + + + + + + + + + + +
+ + + + +
+ +
+ +
+ +

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

+ +
+ +