This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
55 lines (53 loc) · 1.98 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>そつろん!</title>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/jquery.countdown.css">
</head>
<body>
<h1 class="H center margin">しめきりカウントダウン!</h1>
<hr>
<h2 class="H center margin">そつろん!</h1>
<p class="H center margin">1月25日13:00まで</p>
<div class="thesis-clock"></div>
<hr>
<h2 class="H center margin">こうがい!</h1>
<p class="H center margin">1月28日18:00まで</p>
<div class="outline-clock"></div>
<hr>
<h2 class="H center margin">ぷれぜん!</h1>
<p class="H center margin">2月6日23:00まで</p>
<div class="keynote-clock"></div>
<hr>
<h2 class="H center margin">そつぎょう!</h1>
<script src="assets/js/jquery-1.11.2.min.js"></script>
<script src="assets/js/moment.js"></script>
<script src="assets/js/moment-timezone.min.js"></script>
<script src="assets/js/jquery.plugin.min.js"></script>
<script src="assets/js/jquery.countdown.min.js"></script>
<script>
window.onload = function() {
document.body.onclick = function() {
if (this.webkitRequestFullScreen) {
this.webkitRequestFullScreen();
}
else if (this. mozRequestFullScreen) {
this.mozRequestFullScreen();
}
};
};
$(document).ready(function(){
var thesisDeath = moment("201901251300", "YYYYMMDDhhmm").toDate();
$('.thesis-clock').countdown({until: thesisDeath, format: 'ODHMS'});
var outlineDeath = moment("201901281800", "YYYYMMDDhhmm").toDate();
$('.outline-clock').countdown({until: outlineDeath, format: 'ODHMS'});
var keynoteDeath = moment("201902062300", "YYYYMMDDhhmm").toDate();
$('.keynote-clock').countdown({until: keynoteDeath, format: 'ODHMS'});
});
</script>
</body>
</html>