-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathslideshow.html
More file actions
45 lines (38 loc) · 1.56 KB
/
slideshow.html
File metadata and controls
45 lines (38 loc) · 1.56 KB
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
<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<body background="images/set.png">
<br><br><br>
<div class="w3-content" style="max-width:800px;position:relative">
<img class="mySlides" src="images/ph22.png" style="width:100%">
<img class="mySlides" src="images/ph26.png" style="width:100%">
<img class="mySlides" src="images/ph30.png" style="width:100%">
<img class="mySlides" src="images/ph34.png" style="width:100%">
<img class="mySlides" src="images/ph38.png" style="width:100%">
<img class="mySlides" src="images/ph42.png" style="width:100%">
<img class="mySlides" src="images/ph46.png" style="width:100%">
<img class="mySlides" src="images/ph52.png" style="width:100%">
<a class="w3-btn-floating" style="position:absolute;top:45%;left:0" onclick="plusDivs(-1)"> < </a>
<a class="w3-btn-floating" style="position:absolute;top:45%;right:0" onclick="plusDivs(1)"> > </a>
<img id="img10" class="img-fluid" style="position:absolute; z-index:899; width:10%; left:89%; top:83%;cursor:pointer;" src="images/vertical_button.png" onclick="window.close();">
</div>
<script>
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("mySlides");
if (n > x.length) {slideIndex = 1}
if (n < 1) {slideIndex = x.length}
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
x[slideIndex-1].style.display = "block";
}
</script>
</body>
</html>