jquery-ui/demos/menu/default.html

56 lines
1.4 KiB
HTML
Raw Normal View History

2012-06-18 16:43:55 +00:00
<!doctype html>
2010-06-18 08:23:41 +00:00
<html lang="en">
<head>
<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/all.css">
2012-06-18 16:43:55 +00:00
<link rel="stylesheet" href="../demos.css">
<script src="../../external/requirejs/require.js"></script>
<script src="../bootstrap.js">
2012-06-18 16:43:55 +00:00
$( "#menu" ).menu();
2010-06-18 08:23:41 +00:00
</script>
<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">
<li class="ui-state-disabled"><div>Toys (n/a)</div></li>
<li><div>Books</div></li>
<li><div>Clothing</div></li>
<li><div>Electronics</div>
<ul>
<li class="ui-state-disabled"><div>Home Entertainment</div></li>
<li><div>Car Hifi</div></li>
<li><div>Utilities</div></li>
</ul>
</li>
<li><div>Movies</div></li>
<li><div>Music</div>
<ul>
<li><div>Rock</div>
<ul>
<li><div>Alternative</div></li>
<li><div>Classic</div></li>
</ul>
</li>
<li><div>Jazz</div>
<ul>
<li><div>Freejazz</div></li>
<li><div>Big Band</div></li>
<li><div>Modern</div></li>
</ul>
</li>
<li><div>Pop</div></li>
</ul>
</li>
<li class="ui-state-disabled"><div>Specials (n/a)</div></li>
2012-09-10 15:33:46 +00:00
</ul>
2010-06-18 08:23:41 +00:00
<div class="demo-description">
<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>