-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgallery.html
More file actions
171 lines (157 loc) · 7.27 KB
/
gallery.html
File metadata and controls
171 lines (157 loc) · 7.27 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TMRT</title>
<link rel="icon" type="image/png" href="imgs/logo/TMRTlogosqtrans.png" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Shadows+Into+Light" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.8.1/baguetteBox.min.css">
<link rel="stylesheet" href="hdrftr.css">
<link rel="stylesheet" href="gallery.css">
</head>
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid" id="nav">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-left">
<a class="navbar-brand" href="index.html"><img src="imgs/logo/logotmrt.png" id="tmrtlogo" alt="logo" style="float:left"/></a>
</div>
<a href="index.html"><h1 class="brand brand-name navbar-left" style="float:left;font-size:23px;color:#fff;margin-left:15px;margin-top:23px;display:inline;"> <div class="navbar-left desktop-only"> THE MARINE ROBOTICS TEAM</h1></a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="index.html#about">ABOUT</a></li>
<!--<li><a href="index.html#sponsors">SPONSORS</a></li>-->
<li><a class="active" href="#gallery">GALLERY</a></li>
<li><a href="https://www.somaiya.edu/kjsce" target="_blank">KJSCE</a></li>
<li><a href="index.html#contact">CONTACT</a></li>
</ul>
</div>
</div>
</nav>
<div class="col-md-12 container-fluid text-center">
<div class="row">
<h1>GALLERY</h1>
<div class="gal">
<a class="lightbox" id="myImg" href="imgs/gallery/g14.JPG">
<img src="imgs/gallery/g14.JPG" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g1.jpg">
<img src="imgs/gallery/g1.jpg" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g2.JPG">
<img src="imgs/gallery/g2.JPG" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g12.jpg">
<img src="imgs/gallery/g12.jpg" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g3.jpg">
<img src="imgs/gallery/g3.jpg" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g4.JPG">
<img src="imgs/gallery/g4.JPG" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g15.JPG">
<img src="imgs/gallery/g15.JPG" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g5.JPG">
<img src="imgs/gallery/g5.JPG" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g13.jpg">
<img src="imgs/gallery/g13.jpg" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g6.jpg">
<img src="imgs/gallery/g6.jpg" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g7.JPG">
<img src="imgs/gallery/g7.JPG" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g8.JPG">
<img src="imgs/gallery/g8.JPG" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g9.JPG">
<img src="imgs/gallery/g9.JPG" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g10.JPG">
<img src="imgs/gallery/g10.JPG" alt="">
</a>
<a class="lightbox" id="myImg" href="imgs/gallery/g11.JPG">
<img src="imgs/gallery/g11.JPG" alt="">
</a>
</div>
</div>
</div>
<a href="#myPage" title="To top"><button type="button" class="btn btn-default btn-circle btn-lg"><i class="glyphicon glyphicon-chevron-up"></i></button></a>
<footer class="footer-distributed col-sm-12">
<div class="footer-left desktop-only col-sm-3">
<a href="https://www.somaiya.edu" target="_blank" ><img src="imgs/logo/somaiya_trust.jpg" id="somaiyalinkimg" ></a>
<a href="https://www.somaiya.edu/kjsce" target="_blank" ><img src="imgs/logo/kjsce.png" id="somaiyalinkimg" ></a>
<a href="https://www.somaiya.edu/kjsce" target="_blank" ><img src="imgs/logo/somaiya.png" id="somaiyalinkimg"></a>
</div>
<div class="footer-center col-sm-6 text-center" id="social">
<ul>
<a href="https://www.facebook.com/TMRTKJSCE/" target="_blank" class="icon"><i class="fa fa-facebook-square"></i></a>
<a href="https://twitter.com/TMRTKJSCE/" target="_blank" class="icon"><i class="fa fa-twitter-square"></i></a>
<a href="https://www.linkedin.com/company/13397994/" target="_blank" class="icon"><i class="fa fa-linkedin-square"></i></a>
<br>Made by TMRT Web Team
</ul>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.8.1/baguetteBox.min.js"></script>
<script>
baguetteBox.run('.gal');
</script>
<script>
//slide smooth
$(document).ready(function(){
// Add smooth scrolling to all links in navbar + footer link
$("a[href='#myPage'], a[href='#about'], a[href='#contact'], a[href='#gallery']").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (900) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 900, function(){
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("myBtn").style.display = "block";
} else {
document.getElementById("myBtn").style.display = "none";
}
}
$(window).scroll(function() {
$(".slideanim").each(function(){
var pos = $(this).offset().top;
var winTop = $(window).scrollTop();
if (pos < winTop + 600) {
$(this).addClass("slide");
}
});
});
})
</script>
</body>
</html>