forked from filamentgroup/jQuery-Custom-Input
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (51 loc) · 1.85 KB
/
index.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
<!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="libs/enhance.js"></script>
<script type="text/javascript">
// Run capabilities test
enhance({
loadScripts: [
'libs/jquery.min.js',
'js/jQuery.customInput.js',
'js/example.js'
],
loadStyles: ['css/enhanced.css']
});
</script>
</head>
<body>
<form action="#" method="post">
<fieldset>
<legend>Which genres do you like?</legend>
<input type="checkbox" name="genre" id="action" value="action" />
<label for="action">Action / Adventure</label>
<input type="checkbox" name="genre" id="comedy" value="comedy" />
<label for="comedy">Comedy</label>
<input type="checkbox" name="genre" id="check-3" value="epic" />
<label for="check-3">Epic / Historical</label>
<input type="checkbox" name="genre" id="science" value="science" />
<label for="science">Science Fiction</label>
<input type="checkbox" name="genre" id="romance" value="romance" />
<label for="romance">Romance</label>
<input type="checkbox" name="genre" id="western" value="western" />
<label for="western">Western</label>
</fieldset>
<fieldset>
<legend>Caddyshack is the greatest movie of all time, right?</legend>
<input type="radio" name="opinions" id="totally" value="totally" />
<label for="totally">Totally</label>
<input type="radio" name="opinions" id="no-way" value="no-way" />
<label for="no-way">You must be kidding</label>
<input type="radio" name="opinions" id="whats-caddyshack" value="whats-caddyshack" />
<label for="whats-caddyshack">What's Caddyshack?</label>
</fieldset>
<fieldset>
<input type="submit" name="submit" value="submit" />
</fieldset>
</form>
</body>
</html>