-
Notifications
You must be signed in to change notification settings - Fork 0
/
slideshow_css_example.html
61 lines (58 loc) · 2.23 KB
/
slideshow_css_example.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
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CSS Slideshow Example</title>
<link rel="stylesheet" href="css/slideshow_anim.css" />
<link rel="stylesheet" href="css/slideshow_example.css" />
</head>
<body>
<main>
<section class="slideshow-container" id="slideshow1">
<button class="previous"><span> ‹ </span></button>
<div class="slideshow">
<img src="images/sli1/csi1.jpg" class="curr" />
<img src="images/sli1/csi2.jpg" />
<img src="images/sli1/csi3.jpg" />
<img src="images/sli1/csi4.jpg" />
<img src="images/sli1/csi5.jpg" />
<img src="images/sli1/csi6.jpg" />
<img src="images/sli1/csi7.jpg" />
</div>
<div class="slideshow-indicator"></div>
<button class="next"><span> › </span></button>
</section>
<section class="slideshow-container" id="slideshow2">
<button class="previous"><span> ‹ </span></button>
<div class="slideshow">
<img src="images/hmgy/hmgy1.png" class="curr" />
<img src="images/b2.jpg" />
<img src="images/b3.jpg" />
</div>
<div class="slideshow-indicator"></div>
<button class="next"><span> › </span></button>
</section>
<section class="slideshow-container" id="slideshow3">
<button class="previous"> ‹ </button>
<div class="slideshow">
<img src="images/misc/oe1.jpg" class="curr" />
<img src="images/misc/oe2.jpg" />
<img src="images/misc/oe3.jpg" />
</div>
<div class="slideshow-indicator"></div>
<button class="next"><span> › </span></button>
</section>
</main>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/slideshow_base.js"></script>
<script src="js/slideshow_css.js"></script>
<script>
advanceDuration_ms = -1;
animationParameters = {
animationDuration_ms: 2000,
animationSizeScale: 0.4,
animationSlideOutDistanceRatio: 0.2
}
</script>
</body>
</html>