-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
131 lines (112 loc) · 4.7 KB
/
index.html
File metadata and controls
131 lines (112 loc) · 4.7 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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
<style type="text/css">
body {
padding-top: 120px;
background-color: rgb(27,27,27);
}
h1 {
display: inline-block;
margin: 10px 20px;
font-size: 146px;
color: #fff;
}
</style>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- Add your site or application content here -->
<div style="margin-top: 120px; margin: 0 auto; text-align: center; width: 100%; display: block;">
<img src="http://www.mobility-hacks.de/app/js/views/Station-01-Hero/img/mobility_logo.svg?1b804695f8b6f586bf987edecb1e841d"><br/><br/>
<h1 class="day"></h1>
<h1 class="hour"></h1>
<h1 class="minutes"></h1>
<h1 class="seconds"></h1>
<br/>
<br/>
<h2 class="sixteen"></h2>
<h2 class="eighteen"></h2>
<h2 class="twentyone"></h2>
<h2 class="zero"></h2>
<h2 class="seven"></h2>
<h2 class="twelve"></h2>
<h2 class="replace" style="font-size: 40px;"></h2>
</div>
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.12.0.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<script type="text/javascript" src="js/jquery.countdown.js"></script>
<script>
jQuery(document).ready(function() {
var deadline = '2016/12/03 12:00:00';
jQuery('.day').countdown(deadline).on('update.countdown', function(event) {
var $this = jQuery(this).html(event.strftime('%D') + 'd');
});
jQuery('.hour').countdown(deadline).on('update.countdown', function(event) {
var $this = jQuery(this).html(event.strftime('%H') + 'h');
});
jQuery('.minutes').countdown(deadline).on('update.countdown', function(event) {
var $this = jQuery(this).html(event.strftime('%M') + 'm');
});
jQuery('.seconds').countdown(deadline).on('update.countdown', function(event) {
var $this = jQuery(this).html(event.strftime('%S') + 's');
});
jQuery('.sixteen').countdown('2016/11/19 16:00:00')
.on('finish.countdown', function(event) {
attachIt('No beer before 4 (vier)!');
});
jQuery('.eighteen').countdown('2016/11/19 18:00:00')
.on('finish.countdown', function(event) {
attachIt('I hope you are fine :)!');
});
jQuery('.twentyone').countdown('2016/11/19 21:00:00')
.on('finish.countdown', function(event) {
attachIt('Take a massage!');
});
jQuery('.zero').countdown('2016/11/20 00:00:01')
.on('finish.countdown', function(event) {
attachIt('Grab a midnight snack! - Berliner Currywurst');
});
jQuery('.seven').countdown('2016/11/20 07:00:00')
.on('finish.countdown', function(event) {
attachIt('Last six hours');
});
jQuery('.twelve').countdown('2016/11/20 12:00:00')
.on('finish.countdown', function(event) {
attachIt('Final countdown!');
});
jQuery('.twelve').countdown('2016/11/20 12:00:01')
.on('finish.countdown', function(event) {
attachIt('Waiting for the pitches');
});
function attachIt(message) {
console.log(message);
jQuery('.replace').text(message);
}
});
</script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='https://www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X','auto');ga('send','pageview');
</script>
</body>
</html>