-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (29 loc) · 1.28 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Image transition plugin</title>
</head>
<body>
<h1>Image transition plugin</h1>
<div id = "imagetransition">
<img src="images/first.png" />
<img style="display : none;">
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/jquery-ui.min.js"></script>
<script type="text/javascript" src="javascript/jquery.imagetransition.js"></script>
<script type="text/javascript">
$(function($) {
//var transitions = ['images/heart_transition.png', 'images/heart_transition.png'];
var element = $('#imagetransition');
element.imagetransition();
/*element.imagetransition('option', 'data',
{ 'imageURLs' : ['images/first.png', 'images/second.png', 'images/third.png', 'images/fourth.png'],
'transitionsURLs' : ['images/heart_transition.png', 'images/gradient_transition.png', 'images/noise_transition.png', 'images/reflected_gradient_transition.png']
}
);*/
});
</script>
</body>
</html>