# MultipleSelect
Open me!
Demo View | Source Code (opens new window) | Download all widgets
Assets:
Images:
CSS:
JavaScripts:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../core/lib/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../core/lib/jda-0.1.js"></script>
<script type="text/javascript" src="js/jquery.da_ui.select-multi-buttons.js"></script>
<script type="text/javascript" src="js/jquery.da_ui.select-multi-buttons-menu.js"></script>
<script type="text/javascript" src="js/select-multi-buttons.js"></script>
<link type="text/css" rel="stylesheet" href="style.css">
<title>>Multiple Select</title>
</head>
<body>
<h1>Multiple Select</h1>
<div class="content">
<select name="name" class="test-select" multiple="multiple" initialization='{"selected": ["2","-1","3"]}'>
<option value="1">value-1</option>
<option value="2">value-2</option>
<option value="3">value-3</option>
</select>
</div>
</body>
</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
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
.da_ui-select-multi-buttons-list {
margin: 0 0 0 20px;
}
.da_ui-select-multi-buttons-list li {
list-style: none;
display: block;
height: 35px;
width: 334px;
padding: 0px;
margin: 0 0 14px 0;
cursor: pointer;
}
.number {
float: left;
background: url("../core/images/number_interest.png");
width: 36px;
height: 35px;
line-height: 35px;
text-align: center;
margin: 0 10px 0 0;
color: #6CA47D;
}
.item-text {
float: left;
background: url("../core/images/button_interest.png");
width: 268px;
height: 18px;
padding: 0 10px 0 10px;
margin: 8px 0 0 0;
font-size: 11px;
line-height: 18px;
}
.menu-tests {
width: 293px;
}
.menu-tests .t {
background: url("../core/images/menu_interest_t.png");
width: 293px;
height: 31px;
}
.menu-tests .rep {
background: url("../core/images/menu_interest_r.png");
width: 293px;
}
.menu-tests .b {
background: url("../core/images/menu_interest_b.png");
width: 293px;
height: 34px;
}
.da_ui-select-multi-buttons-menu-list ul {
padding: 0 40px;
width: 213px;
overflow: hidden;
margin: 0px;
}
.da_ui-select-multi-buttons-menu-list ul li {
list-style: none;
display: block;
font-size: 11px;
cursor: pointer;
}
.da_ui-select-multi-buttons-menu-list ul li.da_ui-state-active {
color: #9a9a9a;
}
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
73
74
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
73
74
$(function() {
$('select#speed').selectToUISlider();
});
1
2
3
2
3
// Make sure to add code blocks to your code group