-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
23 lines (22 loc) · 953 Bytes
/
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<title>Canvas</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js"></script>
<script type="text/javascript" src="canvas.js"></script>
<!-- Include the VML behavior -->
<style>v\: * { behavior:url(#default#VML);}</style>
</head>
<body>
<div style="padding:20px;background-color:black;">
<img class="round" src="IMG_0391.jpg" />
</div>
<script type="text/javascript">
Event.observe(window, 'load', function(event) {
$$('img.round').each(function(e) {
new Canvas(e, {radius:20, border:true, reflectHeight:50, borderWidth:2, reflect:true, reflectSpace: 2});
});
})
</script>
</body>
</html>