From f1edd5b62e61e675af8130c78d256e23fee2d588 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Fri, 18 Jun 2010 10:23:41 +0200 Subject: Menu: default and contextmenu demos --- demos/menu/contextmenu.html | 76 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 demos/menu/contextmenu.html (limited to 'demos/menu/contextmenu.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.

+ +
+ + + + + -- cgit v1.2.3