-
Notifications
You must be signed in to change notification settings - Fork 6
/
irma.html
175 lines (147 loc) · 8.44 KB
/
irma.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="images/favicon.ico">
<title>Hurricane Irma</title>
<!-- Bootstrap core CSS -->
<link href="dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="assets/css/vizcaya.css" rel="stylesheet">
</head>
<body style="overflow: auto;">
<div class="container-fluid">
<div id="container">
<div id="split-container" class="mini-container1">
<div class="row">
<nav class="col-md-2 d-none d-md-block bg-light sidebar">
<div class="sidebar-sticky">
<h1>Hurricane Irma</h1><hr />
<!--Time Lapse Video of Hurricane Irma-->
<p id="sidebar-text">
This video of the Barge shows the significant damage that resulted from Hurricane Irma in 2017. The elements that are circled in red were damaged or swept into Biscayne Bay by the powerful storm surge and wind.
<br><br>The 3D documentation project helps staff design for resiliency. Fragments from the Barge were salvaged in 2018 and, after restoration, will return to their original locations.
</p>
</div>
<!--sticky footer-->
<footer class="footer">
<div align="center">
<div class="home_div"><a href="index.html"><img id="homeicon" src="images/home-solid.svg" title="Home" /></a></div>
<div class="lang_div"><a id="lang_selected"><b>English</b></a> | <a href="es/irma.html">Español</a></div>
</div>
</footer>
</nav>
</div>
</div>
<div id="split-container" class="mini-container2" style="overflow:auto; overflow-x: hidden;">
<!--Featured Content-->
<div id="main-canvas" class="embed-responsive embed-responsive-16by9">
<video autoplay loop class="embed-responsive-item" id="main-video">
<source id="source_video" src="http://localhost/vizcaya/video/Timelapse+Barge+Irma+2017.mp4" type="video/mp4">
</video>
</div>
<div class="video-showcase">
<div class="row no-gutters">
<!--Time Lapse Video of Hurricane Irma-->
<div class="col-sm-3">
<div class="embed-responsive embed-responsive-16by9">
<video autoplay loop class="embed-responsive-item" onclick="thirdVideo();">
<source src="http://localhost/vizcaya/video/Timelapse+Barge+Irma+2017.mp4" type="video/mp4">
</video>
</div>
</div>
<!--Flyover of the Barge-->
<div class="col-sm-3">
<div class="embed-responsive embed-responsive-16by9">
<video autoplay loop class="embed-responsive-item" onclick="firstVideo();">
<source src="http://localhost/vizcaya/video/barge_ghosting.mp4" type="video/mp4">
</video>
</div>
</div>
<!--Flyover of the Boat Landing-->
<div class="col-sm-3">
<div class="embed-responsive embed-responsive-16by9">
<video autoplay loop class="embed-responsive-item" onclick="fourthVideo();">
<source src="http://localhost/vizcaya/video/DJI_0284_2.mp4" type="video/mp4">
</video>
</div>
</div>
<!--2018 Salvage Video-->
<div class="col-sm-3">
<div class="embed-responsive embed-responsive-16by9">
<video autoplay loop class="embed-responsive-item" onclick="secondVideo();">
<source src="http://localhost/vizcaya/video/salvage.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script>window.jQuery || document.write('<script src="assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
<script src="assets/js/vendor/popper.min.js"></script>
<script src="dist/js/bootstrap.min.js"></script>
<script type="text/javascript">
function idleTimer() {
var t;
//window.onload = resetTimer;
window.onmousemove = resetTimer; // catches mouse movements
window.onmousedown = resetTimer; // catches mouse movements
window.ontouchstart = resetTimer;
window.ontouchmove = resetTimer;
window.onclick = resetTimer; // catches mouse clicks
window.onscroll = resetTimer; // catches scrolling
window.onkeypress = resetTimer; //catches keyboard actions
function logout() {
window.top.location.href = 'index.html'; //Adapt to actual logout script
}
function resetTimer() {
clearTimeout(t);
t = setTimeout(logout, 300000);// time is in milliseconds (1000 is 1 second)/
}
}
idleTimer();
//Function used to update videos on the main-canvas
function updateMainVideo(newVideo, newText) {
var videoContainer = document.getElementById('main-video');
var videoSource = document.getElementById('source_video');
videoContainer.pause();
videoSource.setAttribute('src', newVideo);
videoContainer.load();
videoContainer.play();
document.getElementById('sidebar-text').innerHTML = newText;
}
//Flyover of the Barge
function firstVideo() {
var newVideo = 'http://localhost/vizcaya/video/barge_ghosting.mp4';
var newText = "This animated video of the Barge shows some of the damage from Hurricane Irma. These elements will eventually be restored and returned to their original locations.";
updateMainVideo(newVideo, newText);
}
//2018 Salvage Video
function secondVideo() {
var newVideo = 'http://localhost/vizcaya/video/salvage.mp4';
var newText = "This slide show depicts the salvage operation to retrieve fragments from the Barge and Boat Landing that were swept into Biscayne Bay during Hurricane Irma.";
updateMainVideo(newVideo, newText);
}
//Time Lapse Video of Hurricane Irma
function thirdVideo() {
var newVideo = 'http://localhost/vizcaya/video/Timelapse+Barge+Irma+2017.mp4';
var newText = "This video of the Barge shows the significant damage that resulted from Hurricane Irma in 2017. The elements that are circled in red were damaged or swept into Biscayne Bay by the powerful storm surge and wind. <br><br> The 3D documentation project helps staff design for resiliency. Fragments from the Barge were salvaged in 2018 and, after restoration, will return to their original locations.";
updateMainVideo(newVideo, newText);
}
//Flyover of the Boat Landing
function fourthVideo() {
var newVideo = 'http://localhost/vizcaya/video/DJI_0284_2.mp4';
var newText = "This video of the Boat Landing shows the significant damage that resulted from Hurricane Irma in 2017.";
updateMainVideo(newVideo, newText);
}
</script>
</body>
</html>