diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-06-18 12:43:55 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-06-18 12:43:55 -0400 |
commit | 35f7a67c09fc0862b5a639ec867b061d248927a7 (patch) | |
tree | 8e4e23763377d085027ac9c0fdbfb951c7a35fa6 /demos/menu/topalignmenu.html | |
parent | 378dacfda142a7f4681e79601924a47c362dcee1 (diff) | |
download | jquery-ui-35f7a67c09fc0862b5a639ec867b061d248927a7.tar.gz jquery-ui-35f7a67c09fc0862b5a639ec867b061d248927a7.zip |
Menu demos: Cleanup.
Diffstat (limited to 'demos/menu/topalignmenu.html')
-rw-r--r-- | demos/menu/topalignmenu.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/menu/topalignmenu.html b/demos/menu/topalignmenu.html index 7b7e052e4..62373ba9d 100644 --- a/demos/menu/topalignmenu.html +++ b/demos/menu/topalignmenu.html @@ -3,8 +3,8 @@ <head> <meta charset="utf-8"> <title>Menu Demo: Top-aligned Menu</title> - <link type="text/css" href="../demos.css" rel="stylesheet" /> - <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" /> + <link rel="stylesheet" href="../demos.css"> + <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.2.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.ui.widget.js"></script> @@ -12,18 +12,18 @@ <script src="../../ui/jquery.ui.menu.js"></script> <script> $(function() { - $("#topMenu").menu({ + $( "#menu" ).menu({ position: { of: "ul:has(a.ui-state-focus):last" } }); }); </script> <style> - .ui-menu { width: 200px; margin-bottom: 2em; } + .ui-menu { width: 200px; margin-bottom: 2em; } </style> </head> <body> -<ul id="topMenu"> +<ul id="menu"> <li><a href="#">Aberdeen</a></li> <li><a href="#">Ada</a></li> <li><a href="#">Adamsville</a></li> |