-
Notifications
You must be signed in to change notification settings - Fork 5
/
outreach.html
406 lines (339 loc) · 25.5 KB
/
outreach.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>HEA - Outreach</title>
<link rel="icon" href="images/logos/icon.png">
<meta name="description" content="Welcome to the High Energy Astrophysics Group in Brno!">
<meta name="astrophysics" content="astrophysics">
<meta name="keywords" content="High Energy Astrophysics Brno Czech Republic Physics Theoretical Physics Cosmology AGN Machine Learning">
<!-- Bootstrap Core CSS -->
<link rel="stylesheet" href="./css/bootstrap.min.css" type="text/css">
<!-- Custom Fonts -->
<link href="./css/css" rel="stylesheet" type="text/css">
<link rel="stylesheet" media="all" href="./fontawesome-free-5.15.2-web/css/all.css" type="text/css">
<link media="all" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Plugin CSS -->
<!--link rel="stylesheet" href="./css/animate.min.css" type="text/css"-->
<!-- Custom CSS -->
<link rel="stylesheet" media="all" href="./css/style.css" type="text/css">
<link rel="stylesheet" href="./css/main.css" type="text/css">
<!-- <link rel="stylesheet" href="./css/clean.css" type="text/css"> -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X0F24M0D6Y"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-X0F24M0D6Y');
</script>
</head>
<body id="page-top">
<div class="body_100vh">
<nav id="mainNav" class="navbar navbar-default navbar-dark bg-dark navbar-fixed-top affix-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://hea.physics.muni.cz/"> HEA Brno </a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="team.html">Team</a>
</li>
<li class="">
<a class="page-scroll" href="index.html#hot_universe">Hot Universe</a>
</li>
<li class="">
<a class="page-scroll" href="index.html#grbalpha">SmallSats</a>
</li>
<li class="">
<a class="page-scroll" href="index.html#outreach">Outreach</a>
</li>
<li class="">
<a class="page-scroll" href="index.html#events">Events</a>
</li>
<!-- <li class="">
<a class="page-scroll" href="#contact">Contact Us</a>
</li> -->
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<!-- <section class="bg-secondary" id="outreach">
<div class="container-fluid">
<div class="row no-gutters text-center">
<h2 class="section-person text-center"> <b>Public Outreach and Podcasts</b> </h2>
<br class="longbr">
<br class="longbr">
<br class="longbr">
<div class="mySlides">
<iframe class="YT_frame" src="https://www.youtube.com/embed/imvhQ8mB3_Y" frameborder="0" allow="encrypted-media" allowfullscreen></iframe>
</div>
<div class="mySlides">
<iframe class="YT_frame" src="https://www.youtube.com/embed/QWOd51t7OIw" frameborder="0" allow="encrypted-media" allowfullscreen></iframe>
</div>
<div class="mySlides">
<iframe class="YT_frame" src="https://www.youtube.com/embed/7dWASDwudpU" frameborder="0" allow="encrypted-media" allowfullscreen></iframe>
</div>
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>
</div>
<script src="js/slideshow.js"></script>
</section> -->
<section class="bg-secondary" id="outreach" style="width: 70vw; margin: auto">
<div class="container-fluid">
<div class="row no-gutters text-center">
<h2 class="section-person text-center"> <b>Public Outreach and Podcasts</b> </h2>
<br class="longbr">
<br class="longbr">
<br class="longbr">
<div id="videoContainer" style="width:1000px;height:562.5px;margin: auto;"></div>
<br class="longbr">
<div id="videoButtons"></div>
<div id="prevNextButtons"></div>
<script>
var videoIDs = ["imvhQ8mB3_Y", "QWOd51t7OIw", "7dWASDwudpU", "hXOuPh9SFVw", "gaosR7g11zk", "eRAh-dfNS94", "U3dTsjAIpGg", "0UU9nFQIUwY", "uoB_RA3tUYQ", "Zi0h6ghaork", "fDxbZiJajMQ", "QKoMl0ELNGE", "xS37YP1_BmA", "ypxgOBrI47o", "XTmTBFJks-w"];
var videoTitles = ["Moon", "Radio galaxies", "Cosmic rays", "Life of stars", "JWST", "Researcher's night", "Rožnava special", "CubeSats", "Event horizon", "Galaxy center", "Exoplanets", "Episode 4", "Episode 3", "Episode 2", "Episode 1"];
var currentVideoIndex = 0;
function loadVideo(index) {
var videoContainer = document.getElementById('videoContainer');
videoContainer.innerHTML = '<iframe width="1000" height="562.5" src="https://www.youtube.com/embed/' + videoIDs[index] + '" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>';
}
// Function to generate the buttons for each video
function generateButtons() {
var buttonsContainer = document.getElementById('videoButtons');
for (var i = 0; i < videoIDs.length; i++) {
var button = document.createElement('button');
button.onclick = (function(index) {
return function() {
var buttons = document.getElementsByTagName('button');
for (var j = 0; j < buttons.length; j++) {
buttons[j].classList.remove('active');
}
this.classList.add('active');
currentVideoIndex = index;
var prevButton = document.getElementById('prevNextButtons').getElementsByTagName('button')[0];
var nextButton = document.getElementById('prevNextButtons').getElementsByTagName('button')[1];
if (index == 0) {
prevButton.innerHTML = '<span style="float:left; margin-left: 2px; margin-right: 0px;font-size:160%">‹</span>' + videoTitles[videoTitles.length-1];
nextButton.innerHTML = videoTitles[index+1] + '<span style="float:right; margin-left: 0px; margin-right: 2px;font-size:160%">›</span>';
} else if (index == videoTitles.length-1) {
prevButton.innerHTML = '<span style="float:left; margin-left: 2px; margin-right: 0px;font-size:160%">‹</span>' + videoTitles[index-1];
nextButton.innerHTML = videoTitles[0] + '<span style="float:right; margin-left: 0px; margin-right: 2px;font-size:160%">›</span>';
} else {
prevButton.innerHTML = '<span style="float:left; margin-left: 2px; margin-right: 0px;font-size:160%">‹</span>' + videoTitles[index-1];
nextButton.innerHTML = videoTitles[index+1] + '<span style="float:right; margin-left: 0px; margin-right: 2px;font-size:160%">›</span>';
}
loadVideo(index);
}
})(i);
buttonsContainer.appendChild(button);
}
buttonsContainer.getElementsByTagName('button')[0].classList.add('active');
}
function generatePrevNextButtons() {
var prevNextButtonsContainer = document.getElementById('prevNextButtons');
var prevButton = document.createElement('button');
prevButton.innerHTML = '<span style="float:left; margin-left: 2px; margin-right: 0px;font-size:160%">‹</span>' + videoTitles[videoTitles.length-1];
prevButton.style.paddingTop = '13px';
prevButton.style.paddingBottom = '28px';
prevButton.style.borderRadius = '5px';
// prevButton.style.border = '1px solid black';
prevButton.style.backgroundColor = 'lightgrey';
prevButton.style.position = 'relative';
prevButton.style.width = '205px';
prevButton.style.right = '21%';
prevButton.style.transform = 'translateY(-65%)';
prevButton.onclick = function() {
if (currentVideoIndex == 1) {
currentVideoIndex--;
var buttons = document.getElementsByTagName('button');
for (var j = 0; j < buttons.length; j++) {
buttons[j].classList.remove('active');
}
prevButton.innerHTML = '<span style="float:left; margin-left: 2px; margin-right: 0px;font-size:160%">‹</span>' + videoTitles[videoTitles.length-1];
nextButton.innerHTML = videoTitles[currentVideoIndex+1] + '<span style="float:right; margin-left: 0px; margin-right: 2px;font-size:160%">›</span>';
buttons[currentVideoIndex+1].classList.add('active');
loadVideo(currentVideoIndex);
} else if (currentVideoIndex > 0) {
currentVideoIndex--;
var buttons = document.getElementsByTagName('button');
for (var j = 0; j < buttons.length; j++) {
buttons[j].classList.remove('active');
}
prevButton.innerHTML = '<span style="float:left; margin-left: 2px; margin-right: 0px;font-size:160%">‹</span>' + videoTitles[currentVideoIndex-1];
nextButton.innerHTML = videoTitles[currentVideoIndex+1] + '<span style="float:right; margin-left: 0px; margin-right: 2px;font-size:160%">›</span>';
buttons[currentVideoIndex+1].classList.add('active');
loadVideo(currentVideoIndex);
} else {
currentVideoIndex = videoIDs.length - 1;
var buttons = document.getElementsByTagName('button');
for (var j = 0; j < buttons.length; j++) {
buttons[j].classList.remove('active');
}
prevButton.innerHTML = '<span style="float:left; margin-left: 2px; margin-right: 0px;font-size:160%">‹</span>' + videoTitles[currentVideoIndex-1];
nextButton.innerHTML = videoTitles[0] + '<span style="float:right; margin-left: 0px; margin-right: 2px;font-size:160%">›</span>';
buttons[currentVideoIndex+1].classList.add('active');
loadVideo(currentVideoIndex);
}
};
prevNextButtonsContainer.appendChild(prevButton);
var nextButton = document.createElement('button');
nextButton.innerHTML = videoTitles[currentVideoIndex+1] + '<span style="float:right; margin-left: 0px; margin-right: 2px;font-size:160%">›</span>';
nextButton.style.paddingTop = '13px';
nextButton.style.paddingBottom = '28px';
nextButton.style.borderRadius = '5px';
// nextButton.style.border = '1px solid black';
nextButton.style.backgroundColor = 'lightgrey';
nextButton.style.position = 'relative';
nextButton.style.width = '205px';
nextButton.style.left = '21%';
nextButton.style.transform = 'translateY(-65%)';
nextButton.onclick = function() {
if (currentVideoIndex == videoIDs.length - 2) {
currentVideoIndex++;
var buttons = document.getElementsByTagName('button');
for (var j = 0; j < buttons.length; j++) {
buttons[j].classList.remove('active');
}
prevButton.innerHTML = '<span style="float:left; margin-left: 2px; margin-right: 0px;font-size:160%">‹</span>' + videoTitles[currentVideoIndex-1];
nextButton.innerHTML = videoTitles[0] + '<span style="float:right; margin-left: 0px; margin-right: 2px;font-size:160%">›</span>';
buttons[currentVideoIndex+1].classList.add('active');
loadVideo(currentVideoIndex);
} else if (currentVideoIndex < videoIDs.length - 1) {
currentVideoIndex++;
var buttons = document.getElementsByTagName('button');
for (var j = 0; j < buttons.length; j++) {
buttons[j].classList.remove('active');
}
prevButton.innerHTML = '<span style="float:left; margin-left: 2px; margin-right: 0px;font-size:160%">‹</span>' + videoTitles[currentVideoIndex-1];
nextButton.innerHTML = videoTitles[currentVideoIndex+1] + '<span style="float:right; margin-left: 0px; margin-right: 2px;font-size:160%">›</span>';
buttons[currentVideoIndex+1].classList.add('active');
loadVideo(currentVideoIndex);
}
else {
currentVideoIndex = 0;
var buttons = document.getElementsByTagName('button');
for (var j = 0; j < buttons.length; j++) {
buttons[j].classList.remove('active');
}
prevButton.innerHTML = '<span style="float:left; margin-left: 2px; margin-right: 0px;font-size:160%">‹</span>' + videoTitles[videoTitles.length-1];
nextButton.innerHTML = videoTitles[currentVideoIndex+1] + '<span style="float:right; margin-left: 0px; margin-right: 2px;font-size:160%">›</span>';
buttons[currentVideoIndex+1].classList.add('active');
loadVideo(currentVideoIndex);
}
};
prevNextButtonsContainer.appendChild(nextButton);
}
generateButtons(); // Generate the buttons when the page loads
generatePrevNextButtons(); // Generate the prev and next buttons when the page loads
loadVideo(0); // Load the first video when the page loads
</script>
</div>
</div>
</section>
<!-- <section class="bg-secondary" id="outreach">
<div class="container-fluid">
<div class="row no-gutters">
<h1 class="section-person text-center"> <b>Public Outreach and Podcasts</b> </h1>
<div class="col-md-2"></div>
<div align="center" class="col-md-8">
<h2 style="font-size: 200%; font-weight: bold;">Conversations about the Cosmos</h2>
<br>
<h3 class="text-center outreach_title">Rozhovory o vesmíru – Měsíc</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/imvhQ8mB3_Y" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">Rozhovory o vesmíru - Rádiové galaxie</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/QWOd51t7OIw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">Ultra-energetic Cosmic Ray Particles</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/7dWASDwudpU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">About the Life of Stars</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/hXOuPh9SFVw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">James Webb telescope (guest: Martin Topinka)</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/gaosR7g11zk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">Special: Night of Scientist - The Essence of Time</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/eRAh-dfNS94" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">Special: Live from Rožnava</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/U3dTsjAIpGg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">How CubeSats are built?</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/0UU9nFQIUwY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">Under the event horizon</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/uoB_RA3tUYQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">Galactic centre (guest: Michal Zajaček)</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/Zi0h6ghaork" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">Exoplanets (guest: Marek Skarka)</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/fDxbZiJajMQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">Perseverance, Cygnus X-1 and Cosmic web</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/QKoMl0ELNGE" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title"> Water on the Moon, SOPHIA telescope, Supermassive and Microscopic Black Holes</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/xS37YP1_BmA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">SRG/eROSITA, Hayabusa 2 and Chang'e 5, Future Missions to the Moon</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/ypxgOBrI47o" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h3 class="text-center outreach_title">Pilot episode</h3>
<iframe class="podcasts" src="https://www.youtube.com/embed/XTmTBFJks-w" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="col-md-2"></div>
</div>
</div>
</section>
-->
<!-- <aside class="bg-dark">
<div class="container text-center">
</div>
</aside> -->
<!-- <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2606.8178616736345!2d16.595570515686607!3d49.20401467932282!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4712952f8729a7ed%3A0x3f48520043b64fd5!2zS290bMOhxZlza8OhIDIsIDYwMiAwMCBCcm5vLXN0xZllZA!5e0!3m2!1sen!2scz!4v1631867994033!5m2!1sen!2scz" width="100%" height="380" frameborder="0" style="border:0" allowfullscreen></iframe>
<section id="contact">
<div class="container">
<div class="row text-center">
<h2 class="section-heading">Contact Us</h2>
<hr class="primary">
<div class="text-center">
<p> High Energy Astrophysics Group<br>
Department of Theoretical Physics and Astrophysics </p>
<p>
</p>
<i class="fa fa-map-marker"></i>
<p> Kotlářská 2, 602 00, Brno<br>Czech Republic </p>
</div>
</div>
</div>
</section> -->
<!-- <aside class="bg-dark">
<div class="container text-center">
</div>
</aside> -->
<!-- <div class="container text-center">
<h6 class="center"></> with ♥ by <a href="https://github.com/jpbreuer">Jean-Paul</a> & <a href="https://github.com/tomasplsek">Tomáš</a></h6>
</div> -->
<!-- jQuery -->
<script src="./js/jquery.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="./js/bootstrap.min.js"></script>
<!-- Plugin JavaScript -->
<script src="./js/jquery.easing.min.js"></script>
<script src="./js/jquery.fittext.js"></script>
<script src="./js/wow.min.js"></script>
<script defer type='text/javascript' src='https://opendatascience.com/wp-content/uploads/siteground-optimizer-assets/plsh-particles.min.js' id='plsh-particles-js'></script>
<!-- Custom Theme JavaScript -->
<script src="./js/creative.js"></script>
</div>
</body>
<footer>
<h6 class="center"></> with ♥ by <a href="https://github.com/jpbreuer">Jean-Paul</a> & <a href="https://github.com/tomasplsek">Tomáš </a></h6>
</footer>
</html>