forked from arpiitkgp/arpiitkgp.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGallery.html
671 lines (582 loc) · 28.5 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
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
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
<!DOCTYPE html>
<html>
<head>
<title>ARP-Gallery</title>
<link type="image/x-icon" rel="shortcut icon" href="images/ARP_logo.png">
<script src='https://maps.googleapis.com/maps/api/js?v=3.exp'></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="css/materialize.min.css">
<link rel="stylesheet" href="css/materialize.css">
<!-- Compiled and minified JavaScript -->
<link rel="stylesheet" type="text/css" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.7/js/materialize.min.js"></script>
<link rel="stylesheet" href="Gallery/flexslider.css" type="text/css" media="screen" />
<script src="Gallery/jquery.flexslider.js"></script>
<script src="Gallery/jquery.flexslider-min.js"></script>
<style type="text/css">
.fixed-nav {
position: fixed;
width: 100%;
top: 0;
z-index: 20000;
}
#nav {
background-color: white;
}
body {
margin-top: 105px;
}
.content {
width: 900px;
position: relative;
margin: 20px auto 0px auto;
}
span.reference {
font-family: Arial;
text-align: center;
font-size: 12px;
display: block;
margin-top: 20px;
}
span.reference a {
color: #999;
text-transform: uppercase;
text-decoration: none;
margin-right: 20px;
}
</style>
<style type="text/css">
.hs_container {
position: relative;
width: 902px;
height: 471px;
overflow: hidden;
clear: both;
border: 2px solid #fff;
cursor: pointer;
-moz-box-shadow: 1px 1px 3px #222;
-webkit-box-shadow: 1px 1px 3px #222;
box-shadow: 1px 1px 3px #222;
}
.hs_container .hs_area {
position: absolute;
overflow: hidden;
}
.hs_area img {
position: absolute;
top: 0px;
left: 0px;
display: none;
}
.hs_area img.hs_visible {
display: block;
z-index: 9999;
}
.hs_area1 {
border-right: 2px solid #fff;
}
.hs_area4,
.hs_area5 {
border-top: 2px solid #fff;
}
.hs_area4 {
border-right: 2px solid #fff;
}
.hs_area3 {
border-top: 2px solid #fff;
}
.hs_area1 {
width: 449px;
height: 334px;
top: 0px;
left: 0px;
}
.hs_area2 {
width: 451px;
height: 165px;
top: 0px;
left: 451px;
}
.hs_area3 {
width: 451px;
height: 167px;
top: 165px;
left: 451px;
}
.hs_area4 {
width: 192px;
height: 135px;
top: 334px;
left: 0px;
}
.hs_area5 {
width: 708px;
height: 135px;
top: 334px;
left: 194px;
}
</style>
</head>
<body>
<nav class="fixed-nav">
<div class="nav-wrapper" id="nav">
<div class="container">
<div class="row">
<div class="col s11 offset-s1">
<a href="About_us.html" class="brand-logo offset-s1 "><img id="arppic" src="images/ARP_logo.png"></a>
</div>
<div class="col s1 l1">
<a href="#" data-activates="slide-out" class="button-collapse"><img id="menu_icon" src="images/menu.png"></a>
</div>
<ul id="slide-out" class="side-nav">
<li><a class="hea" href="About_us.html">ABOUT US</a></li>
<li><a class="hea" href="Academics.html">ACADEMICS</a></li>
<li><a class="hea" href="Activities.html">ACTIVITIES</a></li>
<li><a class="hea" href="People.html">PEOPLE</a></li>
<li><a class="hea" href="Gallery.html">GALLERY</a></li>
<li><a class="hea" href="Research.html">RESEARCH</a></li>
<li><a class="hea" href="Magazine.html">MAGAZINE</a></li>
<li><a class="hea" href="https://docs.google.com/forms/d/e/1FAIpQLSeLqMtCBp1TjOvexSEAoFPoPawblv-WdEbD1ZbV5rJXiuL_Ag/viewform">ALUMNI PORTAL</a></li>
</ul>
<ul id="navbar2" id="nav-mobile" class="right hide-on-med-and-down">
<li id="hov"><a class="hea" href="About_us.html">ABOUT US</a></li>
<li id="hov"><a class="hea" href="Academics.html">ACADEMICS</a></li>
<li id="hov"><a class="hea" href="Activities.html">ACTIVITIES</a></li>
<li id="hov"><a class="hea" href="People.html">PEOPLE</a></li>
<li id="hov" class="current"><a class="hea" href="Gallery.html">GALLERY</a></li>
<li id="hov"><a class="hea" href="Research.html">RESEARCH</a></li>
<li id="hov"><a class="hea" href="Magazine.html">MAGAZINE</a></li>
<li><a class="hea" href="https://docs.google.com/forms/d/e/1FAIpQLSeLqMtCBp1TjOvexSEAoFPoPawblv-WdEbD1ZbV5rJXiuL_Ag/viewform">ALUMNI PORTAL</a></li>
</ul>
</div>
</div>
</div>
</nav>
<div id="container">
<div class="content">
<div id="hs_container" class="hs_container">
<div class="hs_area hs_area1">
<img class="hs_visible" src="Gallery/images/area1/1.jpg" alt="" />
<img src="Gallery/images/area1/2.jpg" alt="" />
<img src="Gallery/images/area1/3.jpg" alt="" />
</div>
<div class="hs_area hs_area2">
<img class="hs_visible" src="Gallery/images/area2/1.jpg" alt="" />
<img src="Gallery/images/area2/2.jpg" alt="" />
<img src="Gallery/images/area2/3.jpg" alt="" />
</div>
<div class="hs_area hs_area3">
<img class="hs_visible" src="Gallery/images/area3/1.jpg" alt="" />
<img src="Gallery/images/area3/2.jpg" alt="" />
<img src="Gallery/images/area3/3.jpg" alt="" />
</div>
<div class="hs_area hs_area4">
<img class="hs_visible" src="Gallery/images/area4/1.jpg" alt="" />
<img src="Gallery/images/area4/2.jpg" alt="" />
<img src="Gallery/images/area4/3.jpg" alt="" />
</div>
<div class="hs_area hs_area5">
<img class="hs_visible" src="Gallery/images/area5/1.jpg" alt="" />
<img src="Gallery/images/area5/2.jpg" alt="" />
<img src="Gallery/images/area5/3.jpg" alt="" />
</div>
</div>
</div>
<!-- The JavaScript -->
<script type="text/javascript">
$(function() {
//custom animations to use
//in the transitions
var animations = ['right', 'left', 'top', 'bottom', 'rightFade', 'leftFade', 'topFade', 'bottomFade'];
var total_anim = animations.length;
//just change this to one of your choice
var easeType = 'swing';
//the speed of each transition
var animSpeed = 450;
//caching
var $hs_container = $('#hs_container');
var $hs_areas = $hs_container.find('.hs_area');
//first preload all images
$hs_images = $hs_container.find('img');
var total_images = $hs_images.length;
var cnt = 0;
$hs_images.each(function() {
var $this = $(this);
$('<img/>').load(function() {
++cnt;
if (cnt == total_images) {
$hs_areas.each(function() {
var $area = $(this);
//when the mouse enters the area we animate the current
//image (random animation from array animations),
//so that the next one gets visible.
//"over" is a flag indicating if we can animate
//an area or not (we don't want 2 animations
//at the same time for each area)
$area.data('over', true).bind('mouseenter', function() {
if ($area.data('over')) {
$area.data('over', false);
//how many images in this area?
var total = $area.children().length;
//visible image
var $current = $area.find('img:visible');
//index of visible image
var idx_current = $current.index();
//the next image that's going to be displayed.
//either the next one, or the first one if the current is the last
var $next = (idx_current == total - 1) ? $area.children(':first') : $current.next();
//show next one (not yet visible)
$next.show();
//get a random animation
var anim = animations[Math.floor(Math.random() * total_anim)];
switch (anim) {
//current slides out from the right
case 'right':
$current.animate({
'left': $current.width() + 'px'
},
animSpeed,
easeType,
function() {
$current.hide().css({
'z-index': '1',
'left': '0px'
});
$next.css('z-index', '9999');
$area.data('over', true);
});
break;
//current slides out from the left
case 'left':
$current.animate({
'left': -$current.width() + 'px'
},
animSpeed,
easeType,
function() {
$current.hide().css({
'z-index': '1',
'left': '0px'
});
$next.css('z-index', '9999');
$area.data('over', true);
});
break;
//current slides out from the top
case 'top':
$current.animate({
'top': -$current.height() + 'px'
},
animSpeed,
easeType,
function() {
$current.hide().css({
'z-index': '1',
'top': '0px'
});
$next.css('z-index', '9999');
$area.data('over', true);
});
break;
//current slides out from the bottom
case 'bottom':
$current.animate({
'top': $current.height() + 'px'
},
animSpeed,
easeType,
function() {
$current.hide().css({
'z-index': '1',
'top': '0px'
});
$next.css('z-index', '9999');
$area.data('over', true);
});
break;
//current slides out from the right and fades out
case 'rightFade':
$current.animate({
'left': $current.width() + 'px',
'opacity': '0'
},
animSpeed,
easeType,
function() {
$current.hide().css({
'z-index': '1',
'left': '0px',
'opacity': '1'
});
$next.css('z-index', '9999');
$area.data('over', true);
});
break;
//current slides out from the left and fades out
case 'leftFade':
$current.animate({
'left': -$current.width() + 'px',
'opacity': '0'
},
animSpeed,
easeType,
function() {
$current.hide().css({
'z-index': '1',
'left': '0px',
'opacity': '1'
});
$next.css('z-index', '9999');
$area.data('over', true);
});
break;
//current slides out from the top and fades out
case 'topFade':
$current.animate({
'top': -$current.height() + 'px',
'opacity': '0'
},
animSpeed,
easeType,
function() {
$current.hide().css({
'z-index': '1',
'top': '0px',
'opacity': '1'
});
$next.css('z-index', '9999');
$area.data('over', true);
});
break;
//current slides out from the bottom and fades out
case 'bottomFade':
$current.animate({
'top': $current.height() + 'px',
'opacity': '0'
},
animSpeed,
easeType,
function() {
$current.hide().css({
'z-index': '1',
'top': '0px',
'opacity': '1'
});
$next.css('z-index', '9999');
$area.data('over', true);
});
break;
default:
$current.animate({
'left': -$current.width() + 'px'
},
animSpeed,
easeType,
function() {
$current.hide().css({
'z-index': '1',
'left': '0px'
});
$next.css('z-index', '9999');
$area.data('over', true);
});
break;
}
}
});
});
//when clicking the hs_container all areas get slided
//(just for fun...you would probably want to enter the site
//or something similar)
$hs_container.bind('click', function() {
$hs_areas.trigger('mouseenter');
});
}
}).attr('src', $this.attr('src'));
});
});
</script>
</div>
<div class="row"></div>
<div class="container" id="border">
<div class="row">
<div class="col m12 l12 s12" id="boxe">Gallery</div>
<div class="row"></div>
</div>
</div>
<hr id="hr2"><br>
<div class="container">
<div class="row">
<div class="col m12 l3 s12">
<div class="collection">
<div class="row">
<a href="#!" class="collection-item" id="acad4">Alumni Meet(2017)</a></div>
<div class="row"><a href="#!" class="collection-item" id="acad1">Competition</a></div>
<div class="row"> <a href="#!" id="acad2" class="collection-item">Workshop</a></div>
<div class="row"><a href="#!" id="acad3" class="collection-item">Field Study</a></div>
</div>
</div>
<div id="main" class="col m12 l9 s12">
<div class="flexslider">
<style type="text/css">
.iimm {
height: 400px;
}
.slides img {
height: 400px !important;
width: 500px !important;
margin: auto;
}
.flex-next {
background-image: url("images/Magazine/right.png");
width: 10px;
}
</style>
<ul class="slides">
<li>
<img src="Gallery/slide8.jpg" class="iimm" />
</li>
<li>
<img src="Gallery/slide7.JPG" class="iimm" />
</li>
<li>
<img src="Gallery/slide6.JPG" class="iimm" />
</li>
<li>
<img src="Gallery/slide5.JPG" class="iimm" />
</li>
</ul>
</div>
<script type="text/javascript">
$('.flexslider').flexslider({
animation: "slide"
});
</script>
</div>
</div>
</div>
<footer id="footer">
<div class="container">
<div class="row">
<ul id="nav-mobile" class="container center ">
<li><a href="Site_Map.html" class="col s3"><div id="foot-link" >Site Map</div></a></li>
<li><a href="Council.html" class="col s3" ><div id="foot-link" >Council</div></a></li>
<li><a href="Web_Team.html" class="col s3" ><div id="foot-link" >Web Credits</div></a></li>
<li><a href="contact.html" class="col s3" ><div id="foot-link" >Contact Us</div></a></li>
</ul>
</div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
<div class="row"></div>
</div>
<div class="container foot">
<div style="margin-left:5px;">
<div class="col l3 m2 s2" style="float:left;"><a href="http://iitkgp.ac.in/" target="_blank"><img id="img_kgp" src="images/Logo.png"></a></div>
<div class="col l7 m7 s7" style="margin-left:95px;">
<h6 id="iitkgp" style="font-family: Gill sans MT; color:#D5DBDB; padding-top:6px;">Department of Architecture and<br>Regional Planning</h6><div style="font-size:13px; font-family: Raleway Light; color:#D5DBDB; line-height:15px; padding-top:5px;">Indian Institute of Technology<br>Kharagpur</font>
</div>
</div>
<div class="social col l3 s7 m7 right" style="margin-right:15px;">
<a href="https://www.facebook.com/arpiitkgp" target="_blank"><img class="sociallogo" id="follow" src="images/fb.png" /></a>
<a href="https://issuu.com/ssapiitkgp" target="_blank"><img class="sociallogo" id="follow" src="images/issuu.png" /></a>
<a href="" target="_blank"><img class="sociallogo" id="follow" src="images/google.png" /></a>
</div>
<br>
<br>
<hr id="hr2" style=" border: 0.2px solid #7F8C8D;">
<div class="footer-copyright">
<div class="container center" style="color:#D5DBDB; margin-top:5px; margin-bottom:10px;">
(c) 2019 Students' Society of Architects and Planners
</div>
</div>
</div>
</footer>
<script type="text/javascript">
$(".button-collapse").sideNav();
$("#acad1").click(function() {
$("#main").load("Gallery/Competition.php");
$("#acad1").css({
"border-bottom": "3px solid #566573",
"font-weight": "bold",
"color": "#2C3E50"
});
$("#acad2").css({
"border-bottom": "",
"font-weight": ""
});
$("#acad3").css({
"border-bottom": "",
"font-weight": ""
});
$("#acad4").css({
"border-bottom": "",
"font-weight": ""
});
});
$("#acad2").click(function() {
$("#main").load("Gallery/Workshop.php");
$("#acad2").css({
"border-bottom": "3px solid #566573",
"font-weight": "bold",
"color": "#2C3E50"
});
$("#acad1").css({
"border-bottom": "",
"font-weight": ""
});
$("#acad3").css({
"border-bottom": "",
"font-weight": ""
});
$("#acad4").css({
"border-bottom": "",
"font-weight": ""
});
});
$("#acad3").click(function() {
$("#main").load("Gallery/Field_study.php");
$("#acad3").css({
"border-bottom": "3px solid #566573",
"font-weight": "bold",
"color": "#2C3E50"
});
$("#acad1").css({
"border-bottom": "",
"font-weight": ""
});
$("#acad2").css({
"border-bottom": "",
"font-weight": ""
});
$("#acad4").css({
"border-bottom": "",
"font-weight": ""
});
});
$("#acad4").click(function() {
$("#main").load("Gallery/alumni.php");
$("#acad4").css({
"border-bottom": "3px solid #566573",
"font-weight": "bold",
"color": "#2C3E50"
});
$("#acad1").css({
"border-bottom": "",
"font-weight": ""
});
$("#acad2").css({
"border-bottom": "",
"font-weight": ""
});
$("#acad3").css({
"border-bottom": "",
"font-weight": ""
});
});
</script>
</body>
</html>