-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
580 lines (493 loc) · 21.6 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
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
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
<!DOCTYPE html>
<html>
<title>Autonóm robotverseny</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://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
<link rel="manifest" href="img/site.webmanifest">
<script src='https://kit.fontawesome.com/4753f2df7b.js' crossorigin='anonymous'></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@700&display=swap');
/* #242943 #50ADC9 */
body,
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'IBM Plex Sans', sans-serif;
}
body,
html {
height: 100%;
color: #242943;
line-height: 1.8;
overflow: auto;
}
/* Create a Parallax Effect */
.bgimg-1,
.bgimg-2,
.bgimg-3,
.bgimg-4 {
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-color: #bdc0ca;
}
/* First image (Logo. Full height) */
.bgimg-1 {
background-image: url('img/bg1.png');
background-position: center top;
min-height: 25%;
background-size: auto;
background-color: #242943;
}
/* Second image (images) */
.bgimg-2 {
background-image: url("img/");
background-color: #242943;
min-height: 200px;
}
/* Third image */
.bgimg-3 {
background-image: url("img/");
background-color: #242943;
min-height: 200px;
}
/* Fourth image */
.bgimg-4 {
background-image: url("img/");
min-height: 200px;
}
.w3-wide {
letter-spacing: 10px;
}
.w3-hover-opacity {
cursor: pointer;
}
/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1600px) {
.bgimg-1,
.bgimg-2,
.bgimg-3 {
background-attachment: scroll;
min-height: 400px;
}
}
.w3-bar {
background-color: #242943 !important;
}
.w3-display-midleft {
position: absolute;
top: 50%;
left: 25%;
transform: translate(-50%, -25%);
-ms-transform: translate(-50%, -25%);
}
.w3-darkblue-bg {
background-color: #242943 !important;
color: #ffffff;
}
.w3-hover-opacity:hover {
opacity: 0.80;
}
.w3-lightblue {
color: #50ADC9 !important;
}
.w3-darkblue {
color: #242943 !important;
}
.w3-hover-lightblue:hover {
background-color: #50ADC9 !important;
color: #242943 !important;
}
table {
border-collapse: collapse;
width: 100%;
}
th,
td {
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #f2f2f2
}
th {
background-color: #242943;
color: white;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
</style>
<body style="overflow:auto;">
<!-- Navbar (sit on top) -->
<div class="w3-top">
<div class="w3-bar" id="myNavbar">
<a class="w3-bar-item w3-button w3-white w3-hover-black w3-hide-medium w3-hide-large w3-right"
href="javascript:void(0);" onclick="toggleFunction()" title="Toggle Navigation Menu">
<i class="fa fa-bars"></i>
</a>
<a href="#home" class="w3-bar-item w3-button w3-lightblue w3-hover-lightblue"><i class="fa fa-home"></i> </a>
<a href="#eredmenyek" class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i
class="fa fa-car-side"></i> Eredmények</a>
<a href="#szabalyzat" class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i
class="fa fa-file"></i> Szabályzat</a>
<a href="#english" class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i
class="fa fa-flag-checkered"></i> English</a>
<a href="#events" class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i
class="fa fa-calendar-check-o"></i> Események</a>
<a href="#kepek" class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i
class="fa fa-camera"></i> Képek</a>
<a href="https://github.com/robotverseny"
class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i class="fa fa-github"></i>
Github</a>
<a href="https://felveteli.sze.hu/robotverseny"
class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i class="fa fa-university"
aria-hidden="true"></i> felveteli.sze.hu</a>
<!--
<a href="#dataset" class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i class="fa fa-download"></i> DATASET</a>
<a href="#images" class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i class="fa fa-th"></i> IMAGES</a>
<a href="#videos" class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i class="fa fa-play"></i> VIDEOS</a>
<a href="#contact" class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i class="fa fa-envelope"></i> CONTACT</a>
<a href="https://github.com/szenergy/szenergy-public-resources/wiki" class="w3-bar-item w3-button w3-hide-small w3-lightblue w3-hover-lightblue"><i class="fa fa-wikipedia-w"></i> WIKI</a>
-->
</div>
<!-- Navbar on small screens -->
<div id="navDemo" class="w3-bar-block w3-white w3-hide w3-hide-large w3-hide-medium">
<a href="#home" class="w3-bar-item w3-button w3-lightblue w3-hover-lightblue"><i class="fa fa-home"></i> Kezdőlap
</a>
<a href="#eredmenyek" class="w3-bar-item w3-button w3-lightblue w3-hover-lightblue"><i class="fa fa-car-side"></i>
Eredmények</a>
<a href="#szabalyzat" class="w3-bar-item w3-button w3-lightblue w3-hover-lightblue"><i class="fa fa-file"></i>
Szabályzat</a>
<a href="https://felveteli.sze.hu/robotverseny" class="w3-bar-item w3-button w3-lightblue w3-hover-lightblue"><i
class="fa fa-university" aria-hidden="true"></i> felveteli.sze.hu</a>
</div>
</div>
<!-- First Parallax Image with Logo Text -->
<div class="bgimg-1 w3-display-container" id="home">
<div class="w3-display-middle" style="white-space:nowrap;">
<span class="w3-center w3-padding-large w3-darkblue-bg w3-xxlarge w3-wide"> <span class="w3-hide-small">Autonóm
</span>robotverseny
</div>
</div>
<!-- Container (dataset Section) -->
<div class="w3-content w3-container w3-padding-64" id="dataset">
<!-- <h3 class="w3-center">Autonóm robotverseny</h3> -->
<div class="w3-row">
<div class="w3-third w3-center">
<p>
<a href="https://github.com/robotverseny/robotverseny/discussions"
class="w3-button w3-darkblue-bg w3-lightblue w3-hover-lightblue w3-round" style="font-size:20px"><i
class="fa fa-github w3-margin-right"></i>
Kérdés feltevés, </br> hírek olvasása</a>
</p>
</div>
<div class="w3-third w3-center">
<p>
<a href="https://sze-info.github.io/ajr/"
class="w3-button w3-darkblue-bg w3-lightblue w3-hover-lightblue w3-round" style="font-size:20px"><i
class="fa fa-robot w3-margin-right"></i>
Hasznos </br> ROS2 oktatóanyagok</a>
</p>
</div>
<div class="w3-third w3-center">
<p>
<a href="https://jkk-research.github.io/workshops/" target="_blank"
class="w3-button w3-darkblue-bg w3-lightblue w3-hover-lightblue w3-round" style="font-size:20px"><i
class="fa fa-play w3-margin-right"></i>
Szimulációs </br> workshop </a>
</p>
</div>
<div class="w3-row">
<div class="w3-half w3-center">
<p>
<a href="https://github.com/robotverseny/megoldas_sim24"
class="w3-button w3-darkblue-bg w3-hover-lightblue w3-round" style="font-size:20px; min-width: 50%"><i
class="fa fa-github w3-margin-right" style="font-size:20px"></i>
Instrukciók az </br> online fordulóhoz</a>
</p>
</div>
<div class="w3-half w3-center">
<p>
<a href="https://robotverseny.github.io/megoldas_gyor24/"
class="w3-button w3-darkblue-bg w3-hover-lightblue w3-round" style="font-size:20px; min-width: 50%"><i
class="fa fa-github w3-margin-right" style="font-size:20px"></i>
Instrukciók a </br> helyszíni versenyhez</a>
</p>
</div>
</div>
</div>
<p class="w3-text-gray">
A Széchenyi István Egyetem és partnerei országos szintű autonóm
robotversenyt hirdetnek középiskolai csapatok számára. Az
Autonóm Robotverseny egy középiskolás diákok számára
szervezett műszaki-informatikai verseny,
amely megszervezsére kerülhet szimuláció segítségével (<i>online verseny</i>), vagy valós robotokkal (<i>a helyszíni verseny</i>). A program célja lehetőséget biztosítani
középiskolás diákok számára, hogy megismerjék az
önvezető járművekhez kapcsolódó műszaki és informatikai
kihívásokat számítógépes szimulációk, valamint kisméretű,
alacsony sebességű kültéri mobil robotplatformok alkalmazása által.
<br />
Hírek a korábbi évek versenyeiről:
<ul>
<li><a
href="https://admissions.sze.hu/sze-autonomous-robotic-vehicles-programmed-by-competing-students-at-zalazone">admissions.sze.hu/sze-autonomous-robotic-vehicles-programmed-by-competing-students-at-zalazone</a>
</li>
<li><a
href="https://www.egerszegihirek.hu/helyi-hirek/autonom-robotversenyt-rendeztek-zalaegerszegen">egerszegihirek.hu/helyi-hirek/autonom-robotversenyt-rendeztek-zalaegerszegen</a>
</li>
<li><a
href="https://www.uni.sze.hu/post/sz%C3%A9chenyi-istv%C3%A1n-egyetem-auton%C3%B3m-robotj%C3%A1rm%C5%B1veket-programoztak-a-versenyz%C5%91-di%C3%A1kok-a-zalazone-on">uni.sze.hu/post/széchenyi-istván-egyetem-autonóm-robotjarműveket-programoztak-a-versenyző-diákok-a-zalazone-on</a>
</li>
<li><a
href="https://www.kisalfold.hu/helyi-kozelet/2023/04/szechenyi-istvan-egyetem-autonom-robotjarmuveket-programoztak-a-versenyzo-diakok-a-zalazone-on-galeria">kisalfold.hu/helyi-kozelet/2023/04/szechenyi-istvan-egyetem-autonom-robotjarmuveket-programoztak-a-versenyzo-diakok-a-zalazone-on-galeria</a>
</li>
<li><a
href="https://iotmagazin.hu/ipar/2023/04/28/autonom-robot-zalazone/">iotmagazin.hu/ipar/2023/04/28/autonom-robot-zalazone</a>
</li>
<li><a
href="https://www.zaol.hu/helyi-kozelet/2023/04/autonom-jarmuvekkel-versenyeztek-zalaegerszegen">zaol.hu/helyi-kozelet/2023/04/autonom-jarmuvekkel-versenyeztek-zalaegerszegen</a>
</li>
</ul>
</p>
<p><img src="img/robotanim01.gif" class="center"></p>
</div>
<!-- Second Parallax Image with images Text -->
<div class="bgimg-2 w3-display-container">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide">🏆 Eredmények</span>
</div>
</div>
<!-- Container (mission Section) -->
<div class="w3-content w3-container w3-padding-64" id="eredmenyek">
<div style="overflow: auto!important; -webkit-overflow-scrolling: touch!important;">
<p>
Aktuális <a href="https://robotverseny.github.io/eredmenyek.html">eredmények</a>:
</p>
<iframe src="eredmenyek.html" scrolling="yes" height="600" width="100%" title="eredmenyek"
style="border:none;overflow:visible;overflow-y:scroll;"></iframe>
</div>
<div class="w3-center">
<img src="img/jkk01.svg" alt="JKK logo" style="width:250px;">
<span class="w3-hide-small">
<img src="img/jkk02.svg" alt="JKK logo" style="width:250px;"> <br />
</span>
<!--
<img src="img/sze01.svg" alt="SZE logo" style="width:250px;">
<span class="w3-hide-small">
<img src="img/sze02.svg" alt="SZE logo" style="width:250px;">
</span>
-->
</div>
</div>
<!-- Third Parallax Image with images Text -->
<div class="bgimg-3 w3-display-container">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide">📜 Szabályzat</span>
</div>
</div>
<!-- Container (szabályzat) -->
<div class="w3-content w3-container w3-padding-64" id="szabalyzat">
<p>
Magyarországon középiskolai tanulmányokat folytató
diákokból álló csapatok jelentkezését várjuk. A
Versenyre történő jelentkezésnek szakmai, ismeretekre
vonatkozó előfeltétele, előkövetelménye nincs.
</p>
<p> A verseny két módon valósítható meg:
<ul>
<li>Online forduló, ahol egy szimulátorban versenyeznek a csapatok.</li>
<li>Helyszíni forduló, amely során a csapatok valós robotokkal, valós pályán versenyezhetnek.</li>
</ul>
</p>
<p class="w3-text-gray">
Az online verseny példamegoldása mindenki számára elérhető: <a
href="https://robotverseny.github.io/megoldas_sim22/">https://robotverseny.github.io/megoldas_sim22/</a>. <br />
Hasonlóképp, a helyszíni verseny példamegoldása is elérhető: <a
href="https://robotverseny.github.io/megoldas_gyor24/">https://robotverseny.github.io/megoldas_gyor24/</a>.
<br />
Mindkét lebonyolítási forma (online és helyszíni) egyszerű falkövetést jelent lézerszkenner segítségével, de a megoldás
hangolásával is sokat lehet javítani az eredményen, minimális programozási ismeretekkel.
</p>
</div>
<div class="bgimg-3 w3-display-container">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide">📷 Képek / Gallery </span>
</div>
</div>
<!-- Container (Gallery) -->
<div class="w3-content w3-container w3-padding-64" id="kepek">
<p>
<div class="w2-row-padding w3-center">
<div class="w3-col m6">
<img src="img/2023_001.jpg" style="width:80%; margin:10px" onclick="onClick(this)" class="w3-hover-opacity"
alt="2023">
</div>
<div class="w3-col m6">
<img src="img/2023_002.jpg" style="width:80%; margin:10px" onclick="onClick(this)" class="w3-hover-opacity"
alt="2023">
</div>
<p><br /></p>
<div class="w3-col m6">
<img src="img/2023_003.jpg" style="width:80%; margin:10px" onclick="onClick(this)" class="w3-hover-opacity"
alt="2023">
</div>
<div class="w3-col m6">
<img src="img/2023_004.jpg" style="width:80%; margin:10px" onclick="onClick(this)" class="w3-hover-opacity"
alt="2023">
</div>
</div>
</div>
<div class="bgimg-3 w3-display-container">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide">🚀 Események / Events </span>
</div>
</div>
<!-- Container (events) -->
<div class="w3-content w3-container w3-padding-64" id="events">
<p>
<i>Aktuális esemény:</i>
</p>
<p>
<ul>
<li>II. Autonóm robotverseny - online forduló: Időpont bejelentése később. </li>
</ul>
</p>
<p class="w3-text-gray">
<i>Korábbi események:</i>
</p>
<ul>
<li>I. Autonóm robotverseny - helyszíni forduló - 2023. április 20-21. (<a
href="https://www.google.com/maps/place/ZalaZone/@46.8895951,16.8369234,3a,75y,90t/data=!3m11!1e2!3m9!1sAF1QipPzUe69ewEva-5tzBV9Sjij_FlLPWEf7FjKFa2S!2e10!3e12!6shttps:%2F%2Flh5.googleusercontent.com%2Fp%2FAF1QipPzUe69ewEva-5tzBV9Sjij_FlLPWEf7FjKFa2S%3Dw203-h152-k-no!7i1440!8i1080!9m2!1b1!2i40!4m7!3m6!1s0x476929598d135193:0x5681bfbee9c4ee6c!8m2!3d46.8895951!4d16.8369234!10e5!16s%2Fg%2F11gjs1rmcm">ZalaZone
Járműipari Tesztpálya, Zalaegerszeg</a>) </li>
<li>I. Autonóm robotverseny - online forduló - 2022. november 19-tól - december 12-ig </li>
</ul>
</p>
</div>
<div class="bgimg-3 w3-display-container">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide">🏁 English</span>
</div>
</div>
<!-- Container (English) -->
<div class="w3-content w3-container w3-padding-64" id="english">
<p>
Autonomous robotrace (Autonóm robotverseny) is a hungarian competition organized by the Széchenyi István
University and its partners.
It is inspired by the <a href="https://f1tenth.org/">F1/10</a> Autonomous Racing competition. Any hungarian
middle school / junior secondary school can participate.
</p>
<p> The competition can be organized as an online challenge based on a simulator, or as an on-site programming competition with real robots.
<ul>
<li>Online competition, where teams compete in a simulator.</li>
<li>On-site competition, where they can compete with real robots on a real
track.</li>
</ul>
</p>
<p class="w3-text-gray">
The example solution (in Hungarian) for the online competition is avaiable here: <a
href="https://robotverseny.github.io/megoldas_sim22/">https://robotverseny.github.io/megoldas_sim22/</a>. <br />
Similarly, the example solution for the on-site competition is available here: <a
href="https://robotverseny.github.io/megoldas_zala23/">https://robotverseny.github.io/megoldas_gyor24/</a>.
<br />
<a
href="https://admissions.sze.hu/sze-autonomous-robotic-vehicles-programmed-by-competing-students-at-zalazone">https://admissions.sze.hu/sze-autonomous-robotic-vehicles-programmed-by-competing-students-at-zalazone</a>
</p>
<p>
</p>
<p>
<div class="w2-row-padding w3-center">
<div class="w3-col m6">
<img src="https://raw.githubusercontent.com/robotverseny/megoldas_zala23/main/etc/wheeltec_roboworks_ack01.png"
style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="On-site">
</div>
<div class="w3-col m6">
<img
src="https://raw.githubusercontent.com/sze-info/racecar_gazebo/master/assets/images/gazebo_track_race01.png"
style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="Online">
</div>
<div class="w3-col m6">
<img
src="https://raw.githubusercontent.com/robotverseny/robotverseny.github.io/main/img/f1tenth_wheeltec_roboworks03.png"
style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="Wheeltec roboworks VS F1/10">
</div>
<div class="w3-col m6">
<img
src="https://raw.githubusercontent.com/robotverseny/robotverseny.github.io/main/img/f1tenth_wheeltec_roboworks02.png"
style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="Wheeltec roboworks VS F1/10">
</div>
<div class="w3-col m6">
<img
src="https://raw.githubusercontent.com/robotverseny/robotverseny.github.io/main/img/f1tenth_wheeltec_roboworks01.png"
style="width:100%" onclick="onClick(this)" class="w3-hover-opacity" alt="Wheeltec roboworks VS F1/10">
</div>
</div>
</p>
<!-- Modal for full size images on click-->
<div id="modal01" class="w3-modal w3-black" onclick="this.style.display='none'">
<span class="w3-button w3-large w3-black w3-display-topright" title="Close Modal Image"><i
class="fa fa-remove"></i></span>
<div class="w3-modal-content w3-animate-zoom w3-center w3-transparent w3-padding-64">
<img id="img01" class="w3-image">
<p id="caption" class="w3-opacity w3-large"></p>
</div>
</div>
</div>
<!-- Footer -->
<footer class="w3-center w3-black w3-darkblue-bg w3-padding-64 w3-hover-opacity-off">
<a href="#home" class="w3-button w3-light-grey"><i class="fa fa-arrow-up w3-margin-right"></i>Fel</a>
<div class="w3-section">
<div class="w3-hover-opacity"><a style="text-decoration:none" href="https://github.com/robotverseny"><i
class="fab fa-github"></i> Robotverseny</a></div>
<div class="w3-hover-opacity"><a style="text-decoration:none" href="https://www.youtube.com/jkk-sze-research"><i
class="fab fa-youtube"></i> JKK</a></div>
<div class="w3-hover-opacity"><a style="text-decoration:none" href="https://www.instagram.com/jkk.sze/"><i
class="fab fa-instagram"></i> JKK</a></div>
</div>
<div class="w3-opacity-max">
<p>Powered by <a style="text-decoration:none" href="https://www.w3schools.com/w3css/default.asp" title="W3.CSS"
target="_blank">w3.css</a></p>
</div>
</footer>
<script>
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
// Change style of navbar on scroll
window.onscroll = function () { myFunction() };
function myFunction() {
var navbar = document.getElementById("myNavbar");
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
navbar.className = "w3-bar" + " w3-card" + " w3-animate-top" + " w3-white";
} else {
navbar.className = navbar.className.replace(" w3-card w3-animate-top w3-white", "");
}
}
// Used to toggle the menu on small screens when clicking on the menu button
function toggleFunction() {
var x = document.getElementById("navDemo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
</script>
</body>
</html>