aboutsummaryrefslogtreecommitdiffstats
path: root/demos/menu/icons.html
blob: c3663179a463033e56e29376f203fc44402b12bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>jQuery UI Menu - Icons</title>
	<link rel="stylesheet" href="../../themes/base/all.css">
	<link rel="stylesheet" href="../demos.css">
	<script src="../../external/requirejs/require.js"></script>
	<script src="../bootstrap.js">
		$( "#menu" ).menu();
	</script>
	<style>
	.ui-menu { width: 150px; }
	</style>
</head>
<body>

<ul id="menu">
	<li>
		<div><span class="ui-icon ui-icon-disk"></span>Save</div>
	</li>
	<li>
		<div><span class="ui-icon ui-icon-zoomin"></span>Zoom In</div>
	</li>
	<li>
		<div><span class="ui-icon ui-icon-zoomout"></span>Zoom Out</div>
	</li>
	<li class="ui-state-disabled">
		<div><span class="ui-icon ui-icon-print"></span>Print...</div>
	</li>
	<li>
		<div>Playback</div>
		<ul>
			<li>
				<div><span class="ui-icon ui-icon-seek-start"></span>Prev</div>
			</li>
			<li>
				<div><span class="ui-icon ui-icon-stop"></span>Stop</div>
			</li>
			<li>
				<div><span class="ui-icon ui-icon-play"></span>Play</div>
			</li>
			<li>
				<div><span class="ui-icon ui-icon-seek-end"></span>Next</div>
			</li>
		</ul>
	</li>
	<li>
		<div>Learn more about this menu</div>
	</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>