-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
253 lines (213 loc) · 9.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=0.5, user-scalable=no">
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/x-icon" href="assets/Asset 5.png">
<title>Infinitus 2022</title>
<script src="particles.js"></script>
<script src="jparticle.jquery.min.js"></script>
</head>
<body>
<!-- Top Fixed Bar -->
<div class="topnav">
<a href="https://www.dpsgs.org/ghaziabad/">
<img src="assets/logo-1.svg" alt="Delhi Public School Ghaziabad" class="img-logo">
</a>
</div>
<div class="particles" id="particles">
<script>
$(function () {
$("#particles").jParticle({
background: "#ffffff00",
color: "#505078"
});
});
</script>
<script src="jparticle.jquery.js" type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36251023-1']);
_gaq.push(['_setDomainName', 'jqueryscript.net']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</div>
<div>
<!-- Infinitus Logo -->
<div class="infinitus">
<img src="assets/Asset 6.png" alt="Infinitus 2022" class="infinitus-logo" id="infinitus_logo">
</div>
<!-- Countdown -->
<div class="countdown" id="counter">
<div>
<p id="day"></p>
<span id="day_text" hidden>Days</span>
</div>
<div>
<p id="hour"></p>
<span id="hour_text" hidden>Hours</span>
</div>
<div>
<p id="min"></p>
<span id="min_text" hidden>Minutes</span>
</div>
<div>
<p id="sec"></p>
<span id="sec_text" hidden>Seconds</span>
</div>
</div>
<script>
// Set the date we're counting down to
var countDownDate = new Date("Oct 18, 2022 09:00:00").getTime();
// Update the count down every 1 second
var x = setInterval(function () {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
if (distance < 0) {
clearInterval(x);
document.getElementById("day").hidden = true;
document.getElementById("hour").hidden = true;
document.getElementById("min").hidden = true;
document.getElementById("sec").hidden = true;
document.getElementById("day_text").hidden = true;
document.getElementById("hour_text").hidden = true;
document.getElementById("min_text").hidden = true;
document.getElementById("sec_text").hidden = true;
document.getElementById("infinitus_logo").style.marginBottom = "0px";
document.getElementById("photo_btn").hidden = false;
// document.getElementById("day").innerHTML = "00";
// document.getElementById("hour").innerHTML = "00";
// document.getElementById("min").innerHTML = "00";
// document.getElementById("sec").innerHTML = "00";
}
else {
document.getElementById("day_text").hidden = false;
document.getElementById("hour_text").hidden = false;
document.getElementById("min_text").hidden = false;
document.getElementById("sec_text").hidden = false;
document.getElementById("register").hidden = false;
document.getElementById("infinitus_logo").style.marginBottom = "120px";
}
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24)).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false });
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false });
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false });
var seconds = Math.floor((distance % (1000 * 60)) / 1000).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false });
// Display the result in the element with id="demo"
document.getElementById("day").innerHTML = days;
document.getElementById("hour").innerHTML = hours;
document.getElementById("min").innerHTML = minutes;
document.getElementById("sec").innerHTML = seconds;
// If the count down is finished, write some text
}, 1000);
</script>
<!-- Buttons -->
<div class="button">
<a href="photo.html" id="photo_btn" hidden tabindex="-1">
<button class="button-class" role="button">
Photos
</button>
</a>
<a href="https://bit.ly/infinitus2k22" id="register_btn" hidden tabindex="-1">
<button class="button-class" role="button">
Register
</button>
</a>
<a href="#creative-events" tabindex="-1">
<button class="button-class" role="button">
Events
</button>
</a>
</div>
</div>
<!-- Teaser -->
<div class="video">
<iframe width="935" height="526" src="https://www.youtube.com/embed/Rz2f5LGUj-4" frameborder="0"
allow="clipboard-write; encrypted-media;" allowfullscreen>
</iframe>
<script>
var video1 = document.getElementById('video1');
function videoPausePlayHandler(e) {
if (e.type == 'mouseover') {
video1.setAttribute("controls", "controls");
} else if (e.type == 'mouseout') {
video1.removeAttribute("controls");
}
}
video1.addEventListener('mouseout', videoPausePlayHandler, false);
video1.addEventListener('mouseover', videoPausePlayHandler, false);
</script>
</div>
<!-- Text -->
<div class="text_div">
<div>
<b>
DPSG takes immense pleasure in hosting the 10th edition of its Flagship Annual Inter-School IT Fest on
October 18, 2022 - Infinitus.
</b>
</div>
<br>
<div>
The Infinitus'22 will unfold in hybrid mode, presenting a series of 8 competitive events. The competitions
will be spread over a day, giving an opportunity for the participants to think critically, creatively and
work collaboratively, thereby developing some of the core 21st century skills.<br><br>
<i>
"Enroll, Engage, Excel!"
</i>
</div>
</div>
<!-- Information Boxes -->
<div class="main-container">
<div class="horizontal-container1">
<div class="box1">
<img src="assets/Asset 1.png" alt="10th Edition" class="box1-1" height="250px" width="250px">
</div>
<div class="box2">
<img src="assets/Asset 2.png" alt="18th October" class="box2-1" height="250px" width="250px">
</div>
</div>
<div class="horizontal-container2">
<div class="box3">
<img src="assets/Asset 4.png" alt="8 Events" class="box3-1" height="250px" width="250px">
</div>
<div class="box4">
<img src="assets/Asset 3.png" alt="Theme: Cyberspace" class="box4-1" height="250px" width="250px">
</div>
</div>
<div class="horizontal-container3">
<div class="box5">
<img src="assets/Asset 7.png" alt="Theme: Cyberspace" class="box5-1" height="250px" width="250px">
</div>
</div>
</div>
<!-- Creative's PDF LINK -->
<div id="creative">
<div id="creative-events">
Events
</div>
</div>
<div class="pdf">
<iframe class="pdf-main" src="assets/ITF22_creatives.pdf" width="800" height="500"></iframe>
</div>
<div class="sponsor-text">
Sponsors
</div>
<br>
<div class="sponsor-img-div">
<a href="https://www.taskade.com"><img src="assets/taskade.png" alt="Taskade" class="sponsor-img"></a>
<a href="https://www.wolframalpha.com"><img src="assets/wolfram.png" alt="Wolfram" class="sponsor-img"></a>
</div>
<div class="creds">
Made by Bhavya Goel and Ishan Jindal
</div>
</body>
</html>
<!-- update cursor, carousel, button animation, cursor animation, remake boxes -->