-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjquery_ui_selectable.html
More file actions
41 lines (41 loc) · 1004 Bytes
/
jquery_ui_selectable.html
File metadata and controls
41 lines (41 loc) · 1004 Bytes
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
<html>
<head>
<title>jQuery UI - Selectable</title>
<style>
ol {
list-style-type: none;
position: relative;
left: -20px;
}
ol li {
background: #eeeeee;
border-radius: 5px;
border: 1px solid black;
margin: 3px;
padding: 0.4em;
font-size: 1em;
height: 16px;
font-family: Verdana, Arial, Sans-Serif;
}
ol .ui-selected {
background: #F39814; color: white;
}
</style>
<script src="js/jquery.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script>
$(document).ready(function() {
$('ol').selectable();
});
</script>
</head>
<body>
<ol>
<li>The Legend of Zelda</li>
<li>Zelda II: The Adventure of Link</li>
<li>The Legend of Zelda: A Link to the Past</li>
<li>The Legend of Zelda: Link's Awakening</li>
<li>The Legend of Zelda: Ocarina of Time</li>
</ol>
</body>
</html>