-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.html
More file actions
56 lines (50 loc) · 2.03 KB
/
test.html
File metadata and controls
56 lines (50 loc) · 2.03 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>jQuery-placekitten test page</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" ></script>
<script type="text/javascript" src="js/jquery.placekitten.js" ></script>
<link rel="stylesheet" href="http://blueprintcss.org/blueprint/screen.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="http://blueprintcss.org/blueprint/print.css" type="text/css" media="print">
<!--[if lt IE 8]><link rel="stylesheet" href="http://blueprintcss.org/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
<style>
body {
margin: 20px;
}
#div1 {
width: 150px;
height: 150px;
background-image: url(http://placehold.it/150x150);
}
#a1 {
cursor: pointer;
display: block;
width: 200px;
height: 50px;
background-image: url(http://placehold.it/200x50);
}
h3 {
margin-top: 20px;
}
</style>
<script>
$(function(){
$('body').placekitten();
});
</script>
</head>
<body>
<div class="container">
<h1>jQuery placekitten test page</h1>
<h3>Regular images</h3>
<img id="img1" src="http://placehold.it/300x200" width="300" height="200" />
<img id="img2" src="http://placehold.it/50x75" width="50" height="75" />
<img id="img3" src="http://placehold.it/10x300" width="10" height="300" />
<img id="img4" src="http://placehold.it/200x10" width="200" height="10" />
<h3>Background of a div</h3>
<div id="div1"></div>
<h3>Background of a link</h3>
<a href="#" id="a1">link</a>
</div>
</body>
</html>