diff options
Diffstat (limited to 'demos/menu/topalignmenu.html')
-rw-r--r-- | demos/menu/topalignmenu.html | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/demos/menu/topalignmenu.html b/demos/menu/topalignmenu.html deleted file mode 100644 index 4f34b98c2..000000000 --- a/demos/menu/topalignmenu.html +++ /dev/null @@ -1,87 +0,0 @@ -<!doctype html> -<html> -<head> - <meta charset="utf-8"> - <title>Menu Demo: Top-aligned Menu</title> - <link rel="stylesheet" href="../demos.css"> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.8.2.js"></script> - <script src="../../ui/jquery.ui.core.js"></script> - <script src="../../ui/jquery.ui.widget.js"></script> - <script src="../../ui/jquery.ui.position.js"></script> - <script src="../../ui/jquery.ui.menu.js"></script> - <script> - $(function() { - $( "#menu" ).menu({ - position: { of: "ul:has(a.ui-state-focus):last" }, - icons: { - submenu: "ui-icon-carat-1-e" - } - }); - }); - </script> - <style> - .ui-menu { width: 200px; margin-bottom: 2em; } - </style> -</head> -<body> - -<ul id="menu"> - <li><a href="#">Aberdeen</a></li> - <li><a href="#">Ada</a></li> - <li><a href="#">Adamsville</a></li> - <li><a href="#">Addyston</a></li> - <li> - <a href="#">Delphi</a> - <ul> - <li><a href="#">Ada</a></li> - <li><a href="#">Saarland</a></li> - <li><a href="#">Salzburg</a></li> - </ul> - </li> - <li><a href="#">Saarland</a></li> - <li> - <a href="#">Salzburg</a> - <ul> - <li> - <a href="#">Delphi</a> - <ul> - <li><a href="#">Ada</a></li> - <li><a href="#">Saarland</a></li> - <li><a href="#">Salzburg</a></li> - </ul> - </li> - <li> - <a href="#">Adamsville</a> - <ul> - <li><a href="#">Aberdeen</a></li> - <li><a href="#">Ada</a></li> - <li><a href="#">Adamsville</a></li> - <li><a href="#">Addyston</a></li> - <li> - <a href="#">Delphi</a> - <ul> - <li><a href="#">Ada</a></li> - <li><a href="#">Saarland</a></li> - <li><a href="#">Salzburg</a></li> - </ul> - </li> - <li><a href="#">Saarland</a></li> - </ul> - </li> - <li><a href="#">Perch</a> - <ul> - <li><a href="#">Addyston</a></li> - <li><a href="#">Delphi</a></li> - <li><a href="#">Perch</a></li> - </ul> - </li> - </ul> - </li> -</ul> - -<div class="demo-description"> -<p>Menus can use custom positioning. There is a delay before activing an item on hover and a delay before closing a menu on mouse out to allow for moving to a submenu that is not touching its parent item.</p> -</div> -</body> -</html> |