-
Notifications
You must be signed in to change notification settings - Fork 0
/
photography6.html
110 lines (97 loc) · 4.08 KB
/
photography6.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
106
107
108
109
110
<!DOCTYPE html>
<html>
<title>Ursula Uday_Photography </title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", Arial, Helvetica, sans-serif}
.mySlides {display:none}
</style>
<body class="w3-content w3-border-left w3-border-right">
<!-- Push down content on small screens -->
<div class="w3-hide-large" style="margin-top:80px"></div>
<!-- Slideshow Header -->
<div class="w3-container" id="scenic photos">
<div class="w3-display-container mySlides">
<img src="photos/a (21).jpg" style="width:100%;margin-bottom:-6px">
<div class="w3-display-bottomleft w3-container w3-black">
<h8>Permanence at Kochi</h8>
</div>
</div>
<div class="w3-display-container mySlides">
<img src="photos/a (22).jpg" style="width:100%;margin-bottom:-6px">
<div class="w3-display-bottomleft w3-container w3-black">
<h8>Certain Flutters</h8>
</div>
</div>
<div class="w3-display-container mySlides">
<img src="photos/a (23).jpg" style="width:100%;margin-bottom:-6px">
<div class="w3-display-bottomleft w3-container w3-black">
<h8>When Light decides to Retire</h8>
</div>
</div>
<div class="w3-display-container mySlides">
<img src="photos/a (24).jpg" style="width:100%;margin-bottom:-6px">
<div class="w3-display-bottomleft w3-container w3-black">
<h8>Old-school Roosters</h8>
</div>
</div>
</div>
<div class="w3-row-padding w3-section">
<div class="w3-col s3">
<img class="demo w3-opacity w3-hover-opacity-off" src="photos/a (21).jpg" style="width:100%;cursor:pointer" onclick="currentDiv(1)" title="Permanence at Kochi">
</div>
<div class="w3-col s3">
<img class="demo w3-opacity w3-hover-opacity-off" src="photos/a (22).jpg" style="width:100%;cursor:pointer" onclick="currentDiv(2)" title="Certain Flutters">
</div>
<div class="w3-col s3">
<img class="demo w3-opacity w3-hover-opacity-off" src="photos/a (23).jpg" style="width:100%;cursor:pointer" onclick="currentDiv(3)" title="When Light decides to Retire">
</div>
<div class="w3-col s3">
<img class="demo w3-opacity w3-hover-opacity-off" src="photos/a (24).jpg" style="width:100%;cursor:pointer" onclick="currentDiv(4)" title="Old-school Roosters">
</div>
</div>
<!-- Pagination -->
<div class="w3-center w3-padding-32">
<div class="w3-bar">
<a href="index.html" class="w3-bar-item w3-button w3-hover-black">Home</a>
<a href="photography1.html" class="w3-bar-item w3-button w3-hover-black">1</a>
<a href="photography2.html" class="w3-bar-item w3-button w3-hover-black">2</a>
<a href="photography3.html" class="w3-bar-item w3-button w3-hover-black">3</a>
<a href="photography4.html" class="w3-bar-item w3-button w3-hover-black">4</a>
<a href="photography5.html" class="w3-bar-item w3-button w3-hover-black">5</a>
<a href="photography6.html" class="w3-bar-item w3-black w3-button">6</a>
<a href="photography7.html" class="w3-bar-item w3-button w3-hover-black">7</a>
</div>
</div>
<script>
// Slideshow Apartment Images
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function currentDiv(n) {
showDivs(slideIndex = n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("demo");
if (n > x.length) {slideIndex = 1}
if (n < 1) {slideIndex = x.length}
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" w3-opacity-off", "");
}
x[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " w3-opacity-off";
}
</script>
</body>
</html>