forked from filamentgroup/jQuery-Custom-Input
-
Notifications
You must be signed in to change notification settings - Fork 0
/
toggle-buttons.html
49 lines (40 loc) · 1.3 KB
/
toggle-buttons.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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Custom input</title>
<link href="css/basic.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../-shared/EnhanceJS/enhance.js"></script>
<script type="text/javascript">
// Run capabilities test
enhance({
loadScripts: [
'../-shared/jquery.min.js',
'js/jQuery.customInput.js',
'js/example.js'
],
loadStyles: ['css/enhanced.css']
});
</script>
</head>
<body>
<form action="#" method="post">
<fieldset id="view" class="toggle">
<legend>Choose view:</legend>
<input type="radio" name="view" id="view-list" value="list" />
<label for="view-list">List</label>
<input type="radio" name="view" id="view-grid" value="grid" />
<label for="view-grid">Grid</label>
</fieldset>
<fieldset id="show" class="toggle">
<legend>Show:</legend>
<input type="checkbox" name="show" id="show-comments" value="comments" />
<label for="show-comments">Comments</label>
<input type="checkbox" name="show" id="show-formatting" value="formatting" />
<label for="show-formatting">Formatting</label>
<input type="checkbox" name="show" id="show-changes" value="changes" />
<label for="show-changes">Changes</label>
</fieldset>
</form>
</body>
</html>