Skip to content

Commit

Permalink
Add new topalign menu demo to index, update jquery reference. Remove …
Browse files Browse the repository at this point in the history
…TODO from contextmenu demo, it works fine.
  • Loading branch information
jzaefferer committed Jul 27, 2011
1 parent 843481c commit da7f419
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions demos/menu/contextmenu.html
Expand Up @@ -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>

Expand Down
1 change: 1 addition & 0 deletions demos/menu/index.html
Expand Up @@ -11,6 +11,7 @@ <h4>Examples</h4>
<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>
Expand Down
4 changes: 2 additions & 2 deletions demos/menu/topalignmenu.html
Expand Up @@ -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>
Expand All @@ -21,7 +21,7 @@
</style>
</head>
<body>

<ul id="topMenu">
<li><a href="#">Aberdeen</a></li>
<li><a href="#">Ada</a></li>
Expand Down

0 comments on commit da7f419

Please sign in to comment.