Skip to content
Permalink
Browse files

Add new topalign menu demo to index, update jquery reference. Remove …

…TODO from contextmenu demo, it works fine.
  • Loading branch information
jzaefferer committed Jul 27, 2011
1 parent 843481c commit da7f41948ce01e797ae79ca1e4df7dda5d4cde81
Showing with 5 additions and 4 deletions.
  1. +2 −2 demos/menu/contextmenu.html
  2. +1 −0 demos/menu/index.html
  3. +2 −2 demos/menu/topalignmenu.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>

@@ -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>
@@ -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>

0 comments on commit da7f419

Please sign in to comment.
You can’t perform that action at this time.