-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
72 lines (63 loc) · 2.38 KB
/
demo.html
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!doctype html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>jQuery SimpleSelect Demo</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css?v=2">
<link rel="stylesheet" href="css/jquery.simpleSelect.css?v=2">
</head>
<body>
<div id="container">
<h1>jQuery SimpleSelect Plugin</h1>
<p><a href="index.html">Back to SimpleSelect Plugin details</a></p>
<div class="ctrlHolder">
<label>Example Select, fluid width</label>
<select>
<option value="1" selected="selected">Example option</option>
<option value="2">Another example option</option>
<option value="3">A longer example option</option>
</select>
</div>
<div class="ctrlHolder">
<label>Long text, fluid width</label>
<select>
<option value="1" selected="selected">Example option that is extremely long</option>
<option value="2">Another example option</option>
<option value="3">A longer example option</option>
</select>
</div>
<div class="ctrlHolder">
<label>Short text, fluid width</label>
<select>
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</div>
<div class="ctrlHolder">
<label>Fixed width</label>
<select class="long">
<option value="1" selected="selected">Option</option>
<option value="2">Another example option</option>
<option value="3">A longer example option</option>
</select>
</div>
</div>
<!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>-->
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.5.1.min.js"%3E%3C/script%3E'))</script>
<script src="js/jquery.simpleSelect.js"></script>
<script>
$(function(){
$('select').simpleSelect();
});
</script>
</body>
</html>