-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathexample.html
More file actions
37 lines (36 loc) · 1.25 KB
/
Copy pathexample.html
File metadata and controls
37 lines (36 loc) · 1.25 KB
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
<html>
<head>
<title>Bootstrap Select Toggleizer - Example</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.js"></script>
<script type="text/javascript" src="select-toggleizer.js"></script>
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
<script type="text/javascript">
$(document).ready(function() {
$('.select-toggleizer').toggleize();
})
</script>
</head>
<body>
<div class="container" style="margin-top: 50px;">
<div class="row">
<div class="span3">
<label for="example">Before</label>
<select id="example">
<option>Setting A</option>
<option selected>Setting B</option>
<option>Setting C</option>
</select>
</div>
<div class="span3">
<label for="example">After</label>
<select id="example" class="select-toggleizer">
<option>Setting A</option>
<option selected>Setting B</option>
<option>Setting C</option>
</select>
</div>
</div>
</div>
</body>
</html>