-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
44 lines (41 loc) · 1.58 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Без имени</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Geany 0.19.1" />
<link href="css/iosCheckbox.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.8.0.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script>
<script src="js/iosCheckbox.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#iosCheckbox').iosCheckbox();
jQuery('.strip').click(function(){
jQuery('#iosCheckbox').iosCheckbox("destroy");
return false;
});
jQuery('.mask').click(function(){
jQuery('#iosCheckbox').iosCheckbox();
return false;
});
});
</script>
<style type="text/css">
body {
background-color: #c0c0c0;
}
</style>
</head>
<body>
<h1>Стилизация чекбокса</h1>
<form action="#" method="post">
<input type="checkbox" name="test" value="1" id="iosCheckbox" /><label for="iosCheckbox">Чекбокс</label>
</form>
<br />
<a href="#" class="strip">Раздеть чекбокс</a>
<br />
<a href="#" class="mask">Маскировать чекбокс</a>
</body>
</html>