-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathexample.html
More file actions
75 lines (70 loc) · 1.64 KB
/
example.html
File metadata and controls
75 lines (70 loc) · 1.64 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Placekitten jQuery Plugin</title>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="placekitten.jquery.js" type="text/javascript" charset="utf-8"></script>
<style type="text/css" media="screen">
#example1 {
background-color: red;
width: 123px;
height: 100px;
}
#example2 {
background-color: red;
width: 50px;
height: 200px;
}
#example3 {
background-color: red;
width: 230px;
height: 120px;
}
#example4 {
background-color: red;
width: 200px;
height: 100px;
}
#example5 {
background-color: red;
width: 300px;
height: 200px;
}
#example6 {
background-color: red;
width: 110px;
height: 100px;
}
#examples *{
display: inline-block;
cursor: pointer;
vertical-align: middle;
}
</style>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#examples div').click(function(){
$(this).placekitten();
});
});
</script>
</head>
<body>
<h1 id="placekitten">Placekitten jQuery Plugin</h1>
<p>
The Placekitten jQuery plugin allows you to turn any element into a kitten. Click one of the divs below...
</p>
<div id="examples">
<div id="example1"></div>
<div id="example2"></div>
<div id="example3"></div>
<div id="example4"></div>
<div id="example5"></div>
<div id="example6"></div>
</div>
<p>
<a href="https://github.com/skattyadz/Placekitten-jQuery-Plugin">Source (GitHub)</a>
</p>
</body>
</html>