forked from hound77/jwoc-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgallery.html
176 lines (144 loc) · 6.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="title" content="jwoc archive| Home">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/gallery.css" />
<link rel="stylesheet" href="./css/nav.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"
crossorigin="anonymous"
/>
<script src="https://kit.fontawesome.com/d5f154924f.js" crossorigin="anonymous"></script>
<title>JWoC archive</title>
<link rel="apple-touch-icon" sizes="180x180" href="FAVICONS/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="FAVICONS/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="FAVICONS/favicon-16x16.png">
<link rel="manifest" href="FAVICONS/site.webmanifest">
<link rel="mask-icon" href="FAVICONS/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<header class="sticky-top">
<nav class="navbar navbar-custom navbar-expand-lg py-0 text-light" role="navigation" style="background-color:black">
<div class="container my-2 text-light"style="max-width: 100%">
<h1 class="navbar-brand text-light text-justify" style="font-size : 1.9rem;">JWoC archive</h1>
<button class="btn-outline-light navbar-toggler ml-4" data-toggle="collapse" data-target="#nav">
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse flex-grow-0 justify-content-end" id="nav">
<div class="nav-item nav-link text-light">
<a href="./index.html" class="ex ex1 font-weight-bold ml-3">Home</a>
</div>
<div class="nav-item nav-link text-light">
<a href="./gallery.html" class="ex ex1 font-weight-bold ml-3">Gallery</a>
</div>
<div class="nav-item nav-link text-light">
<a href="./projects.html" class="ex ex1 font-weight-bold ml-3">Projects</a>
</div>
<div class="nav-item nav-link text-light">
<a href="./team.html" class="ex ex1 font-weight-bold ml-3">Team</a>
</div>
</div>
</div>
</nav>
</header>
<section>
TEXT...........
</section>
<div id="contentwrap">
<div id="buttons">
<div id="feat">
<img id="featured" src="images/a.jpg" height="600px" width="1000px">
<a href="javascript:void(0)" id="prevbutton" onclick="prev()"><span id="previcon">‹</span></a>
<a href="javascript:void(0)" id="nextbutton" onclick="next()"><span id="nexticon">›</span></a>
</div>
</div>
<div id="slidewrap">
<img id="leftarrow" class="arrow" src="images/leftarrow.png">
<div id="slider">
<img class="thumbnail active" src="images/a.jpg">
<img class="thumbnail" src="images/b.jpg">
<img class="thumbnail" src="images/c.jpg">
<img class="thumbnail" src="images/d.jpg">
<img class="thumbnail" src="images/e.jpg">
<img class="thumbnail" src="images/f.jpg">
<img class="thumbnail" src="images/g.jpg">
<img class="thumbnail" src="images/h.jpg">
<img class="thumbnail" src="images/i.jpg">
</div>
<img id="rightarrow" class="arrow" src="images/rightarrow.png ">
</div>
</div>
<script type="text/javascript">
var slider_img = document.querySelector('#featured');
var images = ['a.jpg', 'b.jpg', 'c.jpg', 'd.jpg', 'e.jpg', 'f.jpg', 'g.jpg', 'h.jpg', 'i.jpg'];
var i = 0;
function prev() {
if (i <= 0) i = images.length;
i--;
return setImg();
}
function next() {
if (i >= images.length - 1) i = -1;
i++;
return setImg();
}
function setImg() {
return slider_img.setAttribute('src', 'images/' + images[i]);
}
let thumbnails = document.getElementsByClassName('thumbnail')
let activeImages = document.getElementsByClassName('active')
for (var i = 0; i < thumbnails.length; i++) {
thumbnails[i].addEventListener('mouseover', function () {
console.log(activeImages)
if (activeImages.length > 0) {
activeImages[0].classList.remove('active')
}
this.classList.add('active')
document.getElementById('featured').src = this.src
})
}
let buttonRight = document.getElementById('rightarrow');
let buttonLeft = document.getElementById('leftarrow');
buttonLeft.addEventListener('click', function () {
document.getElementById('slider').scrollLeft -= 180
})
buttonRight.addEventListener('click', function () {
document.getElementById('slider').scrollLeft += 180
})
</script>
<!-- Website Footer -->
<footer class="site-footer">
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-4">
<h5><img class="jwoc-logo" src="https://jwoc2k20.tech/assets/img/team/logo.png" alt="jwoc-logo">JWoC</h5>
<p class="text-justify">JWoC ( JGEC Winter of Code) is a coding event organised by Developers JGEC which helps
students to plunge into Open Source contribution and get the realm of Software Development.</p>
</div>
<div class="col-xs-6 col-md-6 col-lg-4">
<h5>Contact Us</h5>
<p>Feel free to contact JWoC on [email protected]. For all latest updates follow us on:</p>
<ul class="social-icons">
<li><a class="facebook" href="https://www.facebook.com/jwoc2k20/"><i class="fa fa-facebook"></i></a></li>
<li><a class="github" href="https://github.com/JGEC-Winter-of-Code"><i class="fab fa-github"></i></a>
<li><a class="linkedin" href="https://www.linkedin.com/company/jwoc/"><i class="fa fa-linkedin"></i></a>
</li>
</ul>
</div>
<div class="col-xs-6 col-md-6 col-lg-4">
<h5>Address</h5>
<p>Jalpaiguri Government Engineering College, Jalpaiguri, West Bengal, India.</p>
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
</body>
</html>