Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Menu: Remove stupid demos, add an icons demo, improve the default demo
- Loading branch information
1 parent
f4b3cd5
commit 568aec6
Showing
5 changed files
with
86 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>jQuery UI Menu - Icons</title> | ||
<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> | ||
<link rel="stylesheet" href="../demos.css"> | ||
<script> | ||
$(function() { | ||
$( "#menu" ).menu(); | ||
}); | ||
</script> | ||
<style> | ||
.ui-menu { width: 150px; } | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<ul id="menu"> | ||
<li><a href="#"><span class="ui-icon ui-icon-disk"></span>Save</a></li> | ||
<li><a href="#"><span class="ui-icon ui-icon-zoomin"></span>Zoom In</a></li> | ||
<li><a href="#"><span class="ui-icon ui-icon-zoomout"></span>Zoom Out</a></li> | ||
<li class="ui-state-disabled"><a href="#"><span class="ui-icon ui-icon-print"></span>Print...</a></li> | ||
<li> | ||
<a href="#">Playback</a> | ||
<ul> | ||
<li><a href="#"><span class="ui-icon ui-icon-seek-first"></span>Prev</a></li> | ||
<li><a href="#"><span class="ui-icon ui-icon-stop"></span>Stop</a></li> | ||
<li><a href="#"><span class="ui-icon ui-icon-play"></span>Play</a></li> | ||
<li><a href="#"><span class="ui-icon ui-icon-seek-end"></span>Next</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
|
||
<div class="demo-description"> | ||
<p>A menu with the default configuration, showing how to use a menu with icons.</p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.