-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (57 loc) · 1.99 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Time spinner</title>
<link rel="stylesheet" href="static/reset.css">
<link rel="stylesheet" href="static/style.css">
</head>
<body>
<div id="main">
<p>The one and only countdown</p>
<div class="rotating_spinner down">
<time class="spinner" data-est="5000" datetime="2012-12-14T15:22:33Z">
<div class="uno days">14</div>
<div class="dos hours">12</div>
<div class="tres minutes">12</div>
<div class="cuatro seconds">12</div>
</time>
</div>
<div class="rotating_spinner up">
<time class="spinner" data-est="10087664" datetime="2012-12-14T15:22:33Z">
<div class="uno days">14</div>
<div class="dos hours">12</div>
<div class="tres minutes">12</div>
<div class="cuatro seconds">12</div>
</time>
</div>
<div class="rotating_spinner stopped">
<div class="spinner">
<div class="uno">14</div>
<div class="dos">12</div>
<div class="tres">12</div>
<div class="cuatro">12</div>
</div>
</div>
<div class="rotating_spinner nojs">
<div class="spinner">
<div class="uno">00</div>
<div class="dos">03</div>
<div class="tres">13</div>
<div class="cuatro">37</div>
</div>
</div>
</div>
<script src="static/jquery-1.7.js"></script>
<script defer src="static/script.js"></script>
<script>
$(function() {
$('.rotating_spinner.down').spinner();
setTimeout(function() {
$('.rotating_spinner.up').spinner({ backward: false });
}, 500);
$('.rotating_spinner.stopped').spinner({ timer: false }).setSpinner([[0,0],[0,3],[1,3],[3,7]]);
});
</script>
</body>
</html>