-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintermission_2.html
More file actions
178 lines (149 loc) · 5.36 KB
/
Copy pathintermission_2.html
File metadata and controls
178 lines (149 loc) · 5.36 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
172
173
174
175
176
177
178
<!-- Copyright Danielh90 2015. All Rights Reserved. -->
<!DOCTYPE html>
<html>
<script
src="https://code.jquery.com/jquery-3.5.0.js"
integrity="sha256-r/AaFHrszJtwpe+tHyNi/XCfMxYpbsRg2Uqn0x3s2zc="
crossorigin="anonymous"></script>
<head>
<title> Pre-Show </title>
<link href="css/main.css" rel="stylesheet" type="text/css">
</head>
<body>
<center><div class="wrapper">
<div class="timer">
<table>
<tr>
<th>
<span id="time"></span>
</th>
</tr>
</table>
<p><h1>Countdown to Set #3</h1 ></p>
<br>Keep an eye on the chat, we'll be figuring out the groupings for the mini-sets!
<br>Featuring:
<br>
<br>Gabrielle Couillard (Granular synthesis and FX chains)
<br>John Pagnotta (Saxophone, flute)
<br>Kousha Nakhaei (Violin, Kamanche (Persian spiked fiddle), voice)
<br>Raph Roter (Percussion + effects)
<br>thispatcher (modular synth + voice)
<br>& Guests from the audience!
<br>
<br>To play with us now, fill out the google form at:
<br><h1>www.palumbomichael.com/exit-points</h1>
<br>
<h2>Drop some money in the musicians' tip jar at www.exitpoints.stream</h2>
<!-- <p id="days"></p>
<p id="hours"></p>
<p id="mins"></p>
<p id="secs"></p>
<h2 id="end"></h2> -->
<script type="text/javascript">
// $("#slideshow > div:gt(0)").hide();
// setInterval(function() {
// $('#slideshow > div:first')
// .fadeOut(1000)
// .next()
// .fadeIn(500)
// .end()
// .appendTo('#slideshow');
// }, 4000);
var countDownDate = new Date("March 31, 2021 22:00:00").getTime();
display = document.querySelector('#time');
// Run myfunc every second
var myfunc = setInterval(function() {
var now = new Date().getTime();
var timeleft = countDownDate - now;
// Calculating the days, hours, minutes and seconds left
// var days = Math.floor(timeleft / (1000 * 60 * 60 * 24));
var hours = Math.floor((timeleft % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((timeleft % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((timeleft % (1000 * 60)) / 1000);
display.textContent = hours + ":" + minutes + ":" + seconds;
// Result is output to the specific element
// document.getElementById("days").innerHTML = days + "d "
document.getElementById("hours").innerHTML = hours + "h "
document.getElementById("mins").innerHTML = minutes + "m "
document.getElementById("secs").innerHTML = seconds + "s "
// Display the message when countdown is over
if (timeleft < 0) {
clearInterval(myfunc);
// document.getElementById("days").innerHTML = ""
document.getElementById("hours").innerHTML = ""
document.getElementById("mins").innerHTML = ""
document.getElementById("secs").innerHTML = ""
document.getElementById("end").innerHTML = "Going Live Asap!!";
}
}, 1000);
//
// function startTimer(duration, display) {
// var timer = duration, minutes, seconds;
// setInterval(function () {
// minutes = parseInt(timer / 60, 10);
// seconds = parseInt(timer % 60, 10);
// minutes = minutes < 10 ? "0" + minutes : minutes;
// seconds = seconds < 10 ? "0" + seconds : seconds;
// display.textContent = minutes + ":" + seconds;
// if (--timer < 0) {
// timer = duration;
// }
// }, 1000);
// }
// window.onload = function () {
// //Change TIME!
// var fiveMinutes = 60 * 5, //Change the timer here! (60 * Number)
// display = document.querySelector('#time');
// startTimer(fiveMinutes, display);
// };
</script></center>
</div>
</div></center>
</body>
</html>
<!-- <head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
p {
display: inline;
font-size: 40px;
margin-top: 0px;
}
</style>
</head>
<body>
<p id="days"></p>
<p id="hours"></p>
<p id="mins"></p>
<p id="secs"></p>
<h2 id="end"></h2>
<script>
// The data/time we want to countdown to
var countDownDate = new Date("Jul 25, 2021 16:37:52").getTime();
// Run myfunc every second
var myfunc = setInterval(function() {
var now = new Date().getTime();
var timeleft = countDownDate - now;
// Calculating the days, hours, minutes and seconds left
var days = Math.floor(timeleft / (1000 * 60 * 60 * 24));
var hours = Math.floor((timeleft % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((timeleft % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((timeleft % (1000 * 60)) / 1000);
// Result is output to the specific element
document.getElementById("days").innerHTML = days + "d "
document.getElementById("hours").innerHTML = hours + "h "
document.getElementById("mins").innerHTML = minutes + "m "
document.getElementById("secs").innerHTML = seconds + "s "
// Display the message when countdown is over
if (timeleft < 0) {
clearInterval(myfunc);
document.getElementById("days").innerHTML = ""
document.getElementById("hours").innerHTML = ""
document.getElementById("mins").innerHTML = ""
document.getElementById("secs").innerHTML = ""
document.getElementById("end").innerHTML = "TIME UP!!";
}
}, 1000);
</script>
</body>
</html> -->