-
Notifications
You must be signed in to change notification settings - Fork 0
/
example1.htm
33 lines (22 loc) · 904 Bytes
/
example1.htm
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Superpng : Example1</title>
<link href="styles/base.css" type="text/css" rel="stylesheet" />
<style type="text/css">
.background {width: 300px; height: 200px; background: url(images/background.gif) repeat }
</style>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script type="text/javascript" src="scripts/jquery.superpng.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.png').superpng({path: 'images/blank.gif'});
});
</script>
</head>
<body>
<div class="background">
<img class='png' src="images/bauble.png" width="180px" height="180px" alt="transparent bauble"/>
</div>
</body>
</html>