-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (90 loc) · 3.97 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
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Fading Slideshow Gallery</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="gallery-container">
<div class="upper-container">
<a class="close" onclick="closeGallery()">✖</a>
<div class="upper-component previous-container">
<a class="previous-button" onclick="updateSlide(-1)">❮</a>
</div>
<div class="upper-component slides-container">
<div class="slide-component fade">
<div class="image-container">
<img src="img/cute-cat.gif">
</div>
</div>
<div class="slide-component fade">
<div class="image-container">
<img src="img/cute-raccoon.jpeg">
</div>
</div>
<div class="slide-component fade">
<div class="image-container">
<img src="img/cute-dog.jpeg">
</div>
</div>
<div class="slide-component fade">
<div class="image-container">
<img src="img/crazy-dog.jpg">
</div>
</div>
<div class="slide-component fade">
<div class="image-container">
<img src="img/cute-squirrel.jpg">
</div>
</div>
<div class="slide-component fade">
<div class="image-container">
<img src="img/beautiful-fox.jpg">
</div>
</div>
<div class="slide-component fade">
<div class="image-container">
<img src="img/beautiful-wolf.jpg">
</div>
</div>
</div>
<div class="upper-component next-container">
<a class="next-button" onclick="updateSlide(1)">❯</a>
</div>
<div class="clearing-component"></div>
</div>
<div class="lower-container">
<div class="caption-container">
<p id="caption"></p>
</div>
<div class="thumbnails-container">
<div class="thumbnail-component">
<img class="thumbnail" src="img/cute-cat.gif" onclick="goToSlide(1)" alt='Cute cat feeling guilty'>
</div>
<div class="thumbnail-component">
<img class="thumbnail" src="img/cute-raccoon.jpeg" onclick="goToSlide(2)" alt="Cute raccoon afraid of something">
</div>
<div class="thumbnail-component">
<img class="thumbnail" src="img/cute-dog.jpeg" alt="Cute dog asking for food" onclick="goToSlide(3)">
</div>
<div class="thumbnail-component">
<img class="thumbnail" src="img/crazy-dog.jpg" alt="Crazy dog trying to catch treats" onclick="goToSlide(4)">
</div>
<div class="thumbnail-component">
<img class="thumbnail" src="img/cute-squirrel.jpg" alt="Cute squirrel eating" onclick="goToSlide(5)">
</div>
<div class="thumbnail-component">
<img class="thumbnail" src="img/beautiful-fox.jpg" alt="Beautiful fox looking to you" onclick="goToSlide(6)">
</div>
<div class="thumbnail-component">
<img class="thumbnail" src="img/beautiful-wolf.jpg" alt="Beautiful wolf playing with flowers" onclick="goToSlide(7)">
</div>
<div class="clearing-component"></div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>