-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (77 loc) · 2.72 KB
/
index.html
File metadata and controls
80 lines (77 loc) · 2.72 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
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
75
76
77
78
79
80
<!doctype html>
<!--[if lt IE 7 ]> <html class="ie6 lteie7 lteie8" lang="en" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7 lteie7 lteie8" lang="en" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8 lteie8" lang="en" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>jQuery Fancy Forms Demo</title>
<link rel="stylesheet" href="jquery.fancy_forms.css" />
</head>
<body>
<h1>Fancy Forms</h1>
<h2>Selects</h2>
<h3>Basic</h3>
<em>No Theme</em>
<p>
<select class="select_example" id="select_example">
<option>All</option>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
</select>
</p>
<h5>Theme: button</h5>
<p>
<select class="select_theme-button" id="select_theme-button">
<option>All</option>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
</select>
</p>
<hr/>
<h2>Inputs</h2>
<h3>Checkboxes</h3>
<p>
<input type="checkbox" value="true" name="checkbox_example" id="the_checkbox_example" />
<label for="the_checkbox_example">The Checkbox Example</label>
</p>
<h5>Theme: big</h5>
<p>
<input type="checkbox" value="true" name="checkbox_example" id="the_checkbox_example2" class="check_theme-big" />
<label for="the_checkbox_example2">The Checkbox Example</label>
</p>
<h3>Radios</h3>
<p>
<input type="radio" value="1" name="radio_example" id="radio_example_1" />
<label for="radio_example_1">The Radio Example 1</label>
</p>
<p>
<input type="radio" value="2" name="radio_example" id="radio_example_2" />
<label for="radio_example_2">The Radio Example 2</label>
</p>
<h5>Theme: big</h5>
<p>
<input type="radio" value="1" name="radio_example2" id="radio_example2_1" class="radio_theme-big" />
<label for="radio_example2_1">The Radio Example2 1</label>
</p>
<p>
<input type="radio" value="2" name="radio_example2" id="radio_example2_2" class="radio_theme-big" />
<label for="radio_example2_2">The Radio Example2 2</label>
</p>
<script src="jquery.js"></script>
<script src="jquery.fancy_forms.js"></script>
<script type="text/javascript">
$('select, input[type="checkbox"], input[type="radio"]').cw_fancy_forms();
$(window).on('change', function(evt, evt_data){
console.info([evt, jQuery(evt.target).data()])
})
</script>
</body>
</html>