This repository was archived by the owner on Apr 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
99 lines (89 loc) · 2.06 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
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
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>jQuery Countdown</title>
<link rel="stylesheet" type="text/css" media="all" href="jquery.countdown.css" />
<!-- Site specific styles -->
<style type="text/css">
html {
background: #222;
}
body {
padding-top: 100px;
width: 610px;
margin: 0 auto 40px;
}
a {
color: #999;
}
h1 {
margin: 0;
padding: 0 0 50px;
}
h1, p {
width: 600px;
margin: 0 auto;
color: #fff;
text-align: center;
font-family: sans-serif;
font-weight: 100;
}
h2 {
text-align: center;
color: #fff;
font-size: 13px;
font-family: sans-serif;
font-weight: 100;
margin: 10px 0;
padding: 0;
color: #555;
}
p span.credit {
color: #999;
}
p span.credit a {
color: #fff;
text-decoration: none;
display: inline-block;
width: 34px;
line-height: 30px;
background: #333;
text-align: center;
margin-left: 2px;
}
div.info {
display: block;
width: 500px;
margin: 0 auto;
}
</style>
</head>
<body>
<h1>jQuery Countdown</h1>
<!-- Countdown via Schedule -->
<h2>Scheduled (via plugin)</h2>
<div id="countdown" class="countdown" data-countdown="March 15, 2013 10:45:00"></div>
<!-- Countdown via data-time attribute -->
<h2>Data Attribute (via countdown div)</h2>
<div id="countdown2" class="countdown" data-countdown="January 01, 2020 15:00:00"></div>
<p><a href="https://github.com/kaleblex/jquery-countdown#jquery-countdown" target="_blank">Docs</a> | <span class="credit">Created by <a href="http://kheitzman.com">KH</a></span></p>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="jquery.countdown.js"></script>
<script type="text/javascript">
$(function() {
$('#countdown').countdown({
zeroCallback: function(options) {
$('#countdown').fadeOut();
}
});
$('#countdown2').countdown({
schedule: {
"Wednesday": [ "17:00:00", "17:50:00" ],
"Friday": [ "13:00:00" ]
},
showYears: true,
});
});
</script>
</body>
</html>