aboutsummaryrefslogtreecommitdiffstats
path: root/demos/menu
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2011-07-27 15:54:40 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2011-07-27 15:54:40 +0200
commitda7f41948ce01e797ae79ca1e4df7dda5d4cde81 (patch)
tree40531588a7ecd3a38887e1d49985ae3460e8be38 /demos/menu
parent843481ce0892d81d9d5e623e776ff316e6c0892e (diff)
downloadjquery-ui-da7f41948ce01e797ae79ca1e4df7dda5d4cde81.tar.gz
jquery-ui-da7f41948ce01e797ae79ca1e4df7dda5d4cde81.zip
Add new topalign menu demo to index, update jquery reference. Remove TODO from contextmenu demo, it works fine.
Diffstat (limited to 'demos/menu')
-rw-r--r--demos/menu/contextmenu.html4
-rw-r--r--demos/menu/index.html1
-rw-r--r--demos/menu/topalignmenu.html4
3 files changed, 5 insertions, 4 deletions
diff --git a/demos/menu/contextmenu.html b/demos/menu/contextmenu.html
index 55d08d48f..c4cba49e5 100644
--- a/demos/menu/contextmenu.html
+++ b/demos/menu/contextmenu.html
@@ -46,14 +46,14 @@
<li><a href="#Utrecht">Utrecht</a></li>
<li><a href="#Zurich">Zurich</a></li>
</ul>
-
+
<div id="log"></div>
</div><!-- End demo -->
<div class="demo-description">
-<p>TODO update - 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.</p>
+<p>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.</p>
<p>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.</p>
diff --git a/demos/menu/index.html b/demos/menu/index.html
index 3088f9d7d..9983dbfd0 100644
--- a/demos/menu/index.html
+++ b/demos/menu/index.html
@@ -11,6 +11,7 @@
<ul>
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
<li><a href="contextmenu.html">Contextmenu</a></li>
+ <li><a href="topalignmenu.html">Top-aligned sub menus</a></li>
</ul>
</div>
</body>
diff --git a/demos/menu/topalignmenu.html b/demos/menu/topalignmenu.html
index b3c7c6956..0339e343a 100644
--- a/demos/menu/topalignmenu.html
+++ b/demos/menu/topalignmenu.html
@@ -4,7 +4,7 @@
<title>Menu Demo: Top-aligned Menu</title>
<link rel="stylesheet" href="../demos.css" type="text/css" />
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
- <script type="text/javascript" src="../../jquery-1.5.1.js"></script>
+ <script type="text/javascript" src="../../jquery-1.6.2.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
@@ -21,7 +21,7 @@
</style>
</head>
<body>
-
+
<ul id="topMenu">
<li><a href="#">Aberdeen</a></li>
<li><a href="#">Ada</a></li>