Skip to content

Commit da7f419

Browse files
committed
Add new topalign menu demo to index, update jquery reference. Remove TODO from contextmenu demo, it works fine.
1 parent 843481c commit da7f419

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

demos/menu/contextmenu.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@
4646
<li><a href="#Utrecht">Utrecht</a></li>
4747
<li><a href="#Zurich">Zurich</a></li>
4848
</ul>
49-
49+
5050
<div id="log"></div>
5151

5252
</div><!-- End demo -->
5353

5454
<div class="demo-description">
5555

56-
<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>
56+
<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>
5757

5858
<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>
5959

demos/menu/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ <h4>Examples</h4>
1111
<ul>
1212
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
1313
<li><a href="contextmenu.html">Contextmenu</a></li>
14+
<li><a href="topalignmenu.html">Top-aligned sub menus</a></li>
1415
</ul>
1516
</div>
1617
</body>

demos/menu/topalignmenu.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>Menu Demo: Top-aligned Menu</title>
55
<link rel="stylesheet" href="../demos.css" type="text/css" />
66
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
7-
<script type="text/javascript" src="../../jquery-1.5.1.js"></script>
7+
<script type="text/javascript" src="../../jquery-1.6.2.js"></script>
88
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
99
<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
1010
<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
@@ -21,7 +21,7 @@
2121
</style>
2222
</head>
2323
<body>
24-
24+
2525
<ul id="topMenu">
2626
<li><a href="#">Aberdeen</a></li>
2727
<li><a href="#">Ada</a></li>

0 commit comments

Comments
 (0)