-
Notifications
You must be signed in to change notification settings - Fork 2
/
jquery.html
41 lines (37 loc) · 1.22 KB
/
jquery.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
32
33
34
35
36
37
38
39
40
41
<!doctype html>
<html>
<head>
<title>Slideshow 2!</title>
<meta charset="utf-8">
<meta name="author" content="[Aeron Glemann](http://www.electricprism.com/aeron/)">
<link rel="stylesheet" href="css/slideshow.css">
<style>
.slideshow { float: left; margin: 50px; }
</style>
<script src="src/jquery/jquery/dist/jquery.js"></script>
<script src="src/jquery/jquery-ui/ui/jquery.ui.core.js"></script>
<script src="src/jquery/jquery-ui/ui/jquery.ui.widget.js"></script>
<script src="src/jquery/jquery-ui/ui/jquery.effects.core.js"></script>
<script src="src/jquery/ui.slideshow.js"></script>
<script>
window.addEvent('domready', function(){
var data = { '1.jpg': { caption: '1' }, '2.jpg': { caption: '2' }, '3.jpg': { caption: '3' }, '4.jpg': { caption: '4' }};
$('#overlap').slideshow({ data: data, height: 300, hu: 'images/', width: 400 });
});
</script>
</head>
<body>
<div id="overlap" class="slideshow">
<img src="images/1.jpg" alt="1">
</div>
<!-- <div id="noOverlap" class="slideshow">
<img src="images/1.jpg" alt="1">
</div>
<div id="kenburns" class="slideshow">
<img src="images/1.jpg" alt="1">
</div>
<div id="push" class="slideshow">
<img src="images/1.jpg" alt="1">
</div> -->
</body>
</html>