-
Notifications
You must be signed in to change notification settings - Fork 2
/
mootools.html
56 lines (50 loc) · 2.05 KB
/
mootools.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!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/mootools/mootools-1.3.2-core.js"></script>
<script src="src/mootools/mootools-1.3.2.1-more.js"></script>
<script src="src/mootools/slideshow.js"></script>
<script src="src/mootools/slideshow.flash.js"></script>
<script src="src/mootools/slideshow.fold.js"></script>
<script src="src/mootools/slideshow.kenburns.js"></script>
<script src="src/mootools/slideshow.push.js"></script>
<script>
window.addEvent('domready', function(){
var data = ['1.jpg', '2.jpg', '3.jpg', '4.jpg', '1.jpg', '2.jpg', '3.jpg', '4.jpg', '1.jpg', '2.jpg', '3.jpg', '4.jpg'];
window.show = new Slideshow('overlap', data, { captions: { delay: 1000 }, delay: 3000, height: 300, hu: 'images/', width: 400 });
// new Slideshow('noOverlap', data, { height: 300, hu: 'images/', overlap: false, resize: 'fit', width: 400 });
// new Slideshow.Flash('flash', data, { color: ['tomato', 'palegreen', 'orangered', 'aquamarine'], height: 300, hu: 'images/', width: 400 });
// new Slideshow.Fold('fold', data, { height: 300, hu: 'images/', width: 400 });
// new Slideshow.KenBurns('kenburns', data, { duration: 1500, height: 300, hu: 'images/', width: 400 });
// new Slideshow.Push('push', data, { height: 300, hu: 'images/', transition: 'back:in:out', 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="flash" class="slideshow">
<img src="images/1.jpg" alt="1">
</div>
<div id="fold" 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>