2012-06-18 16:43:55 +00:00
<!doctype html>
2010-06-18 08:23:41 +00:00
< html lang = "en" >
< head >
2012-04-23 16:44:17 +00:00
< meta charset = "utf-8" >
2012-06-18 16:43:55 +00:00
< title > jQuery UI Menu - Default functionality< / title >
< link rel = "stylesheet" href = "../../themes/base/jquery.ui.all.css" >
2013-01-17 06:28:41 +00:00
< script src = "../../jquery-1.9.0.js" > < / script >
2011-05-08 18:41:21 +00:00
< script src = "../../ui/jquery.ui.core.js" > < / script >
< script src = "../../ui/jquery.ui.widget.js" > < / script >
2012-10-23 18:03:04 +00:00
< script src = "../../ui/jquery.ui.position.js" > < / script >
2011-05-08 18:41:21 +00:00
< script src = "../../ui/jquery.ui.menu.js" > < / script >
2012-06-18 16:43:55 +00:00
< link rel = "stylesheet" href = "../demos.css" >
2011-05-08 18:41:21 +00:00
< script >
2010-06-18 08:23:41 +00:00
$(function() {
2012-06-18 16:43:55 +00:00
$( "#menu" ).menu();
2010-06-18 08:23:41 +00:00
});
< / script >
2012-10-23 18:03:04 +00:00
< style >
.ui-menu { width: 150px; }
< / style >
2010-06-18 08:23:41 +00:00
< / head >
< body >
2012-09-10 15:33:46 +00:00
< ul id = "menu" >
2012-10-23 18:03:04 +00:00
< li class = "ui-state-disabled" > < 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 class = "ui-state-disabled" > < 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 = "#" > 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 = "#" > Perch< / a > < / li >
< / ul >
< / li >
< li class = "ui-state-disabled" > < a href = "#" > Amesville< / a > < / li >
2012-09-10 15:33:46 +00:00
< / ul >
2010-06-18 08:23:41 +00:00
< div class = "demo-description" >
2012-10-23 18:03:04 +00:00
< p > A menu with the default configuration, disabled items and nested menus. A list is transformed, adding theming, mouse and keyboard navigation support. Try to tab to the menu then use the cursor keys to navigate.< / p >
2012-09-10 15:33:46 +00:00
< / div >
2010-06-18 08:23:41 +00:00
< / body >
< / html >