-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgallery.html
312 lines (259 loc) · 8.34 KB
/
gallery.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' http://* 'unsafe-inline'; script-src 'self' http://* 'unsafe-inline' 'unsafe-eval'" />
<title>WW-P South Science Club | Home</title>
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<meta property="og:image" content="https://i.imgur.com/bIFIdUB.jpg" />
<meta name="description" content="For the past decade, the South Science Club has been providing scientific opportunities for students in the school. We provide numerous competitions: Science Olympiad, Science Bowl, and various other scientific competitions such as the Biology/Chemistry/Physics Olympiads.">
<!-- CSS -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link href="style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link href="https://fonts.googleapis.com/css?family=Roboto:400" rel="stylesheet">
<style>
* {box-sizing:border-box}
/* Slideshow container */
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;
}
/* Hide the images by default */
.mySlides {
display: none;
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: green;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}
/* Position the next and previous to the right and left*/
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
.prev {
left: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}
/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active, .dot:hover {
background-color: #717171;
}
/* Fading animation */
.fade {
animation-name: fade;
animation-duration: 1.5s;
}
@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
</style>
</head>
<body style = "background: white;" >
<script src="Navigation.js"></script>
<main>
<center>
<div class="container" style = "min-height: 100vh; background-color: whitesmoke;">
<div class="section no-pad-bot">
<div class="container">
<br><br>
<h2 class="header center black-text">Photo Gallery</h2>
<br><br>
<h3 class="header center black-text">Science Olympiad</h3>
<p>Look below at the coolest Scioly photos!</p>
<!-- Slideshow container -->
<div class="slideshow-container">
<!-- Full-width images with number and caption text -->
<div class="mySlides fade">
<div class="numbertext">1 / 11</div>
<img src="img/shiny Cornell.jpg" style="width:100%">
<div class="text">Cornell 2023</div>
</div>
<div class="mySlides fade">
<div class="numbertext">2 / 11</div>
<img src="img/Wheels Cornell 2024.JPG" style="width:100%">
<div class="text">Cornell 2023</div>
</div>
<div class="mySlides fade">
<div class="numbertext">3 / 11</div>
<img src="img/funny1 Cornell.jpeg" style="width:100%">
<div class="text">Cornell 2023</div>
</div>
<div class="mySlides fade">
<div class="numbertext">4 / 11</div>
<img src="img/funny2 Cornell.jpeg" style="width:100%">
<div class="text">Cornell 2023</div>
</div>
<div class="mySlides fade">
<div class="numbertext">5 / 11</div>
<img src="img/skating.jpg" style="width:100%">
<div class="text">Skating 2023</div>
</div>
<div class="mySlides fade">
<div class="numbertext">6 / 11</div>
<img src="img/potatomascotti.jpeg" style="width:100%">
<div class="text">MIT 2024</div>
</div>
<div class="mySlides fade">
<div class="numbertext">7 / 11</div>
<img src="img/Mit big photo 2024.JPG" style="width:100%">
<div class="text">MIT 2024</div>
</div>
<div class="mySlides fade">
<div class="numbertext">8 / 11</div>
<img src="img/high quality low people MITjpg.jpg" style="width:100%">
<div class="text">MIT 2024</div>
</div>
<div class="mySlides fade">
<div class="numbertext">9 / 11</div>
<img src="img/low quality high people MIT.jpg" style="width:100%">
<div class="text">MIT 2024</div>
</div>
<div class="mySlides fade">
<div class="numbertext">10 / 11</div>
<img src="img/godfather.jpg" style="width:100%">
<div class="text">MIT 2024</div>
</div>
<div class="mySlides fade">
<div class="numbertext">11 / 11</div>
<img src="img/PUSO big board 2024.jpeg" style="width:100%">
<div class="text">Princeton 2024</div>
</div>
<!-- Next and previous buttons -->
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<br>
<!-- The dots/circles -->
<div style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
<span class="dot" onclick="currentSlide(4)"></span>
<span class="dot" onclick="currentSlide(5)"></span>
<span class="dot" onclick="currentSlide(6)"></span>
<span class="dot" onclick="currentSlide(7)"></span>
<span class="dot" onclick="currentSlide(8)"></span>
<span class="dot" onclick="currentSlide(9)"></span>
<span class="dot" onclick="currentSlide(10)"></span>
<span class="dot" onclick="currentSlide(11)"></span>
</div>
</div>
<div class="card-content black-text ">
<br><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</header>
<footer class="page-footer green lighten-1" style = "margin-top: -5px;"> <!-- sorry future devs LOL -->
<div class="container">
<div class="row">
<div class="col s12 m8">
<img class="responsive-img" src = "img/footer.png">
</div>
<div class="col s12 m4">
<h4 class="white-text">Contact</h4>
<ul>
<li><a class="white-text light" href="mailto:[email protected]">[email protected]</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
West Windsor-Plainsboro High School South Science Club 2024-2025</a>
</div>
</div>
</footer>
<!-- Scripts-->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="js/materialize.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<script>
$(".button-collapse").sideNav();
let slideIndex = 1;
showSlides(slideIndex);
// Next/previous controls
function plusSlides(n) {
showSlides(slideIndex += n);
}
// Thumbnail image controls
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
let i;
let slides = document.getElementsByClassName("mySlides");
let dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script>
</body>
</html>