-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (63 loc) · 1.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Digital numbers</title>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/digitalnumbers.css"/>
<style>
body {
background:black;
text-align:center;
}
.page {
display:inline-block;
padding-top:50px;
}
.digitalnumbers {
margin-bottom:50px;
}
.digitalnumbers:after {
content:"";
display:block;
clear:both;
height:0;
}
</style>
</head>
<body>
<div class="page">
<div id="digitwrapper" class="digitalnumbers"></div>
<div id="digitwrapper2" class="digitalnumbers"></div>
<div id="digitwrapper3" class="digitalnumbers"></div>
</div>
<script src="js/vendor/jquery.min.js"></script>
<script src="js/vendor/moment.min.js"></script>
<script src="js/vendor/readable-range.js"></script>
<script src="js/digitalnumbers.min.js"></script>
<script>
$(document).ready(function(){
$('#digitwrapper').digitalnumbers({
startat: 15,
mode: 'clock',
speed: 200,
delay: 5000,
direction: -1
});
$('#digitwrapper2').digitalnumbers({
startat: 15,
mode: 'scaleloop',
numMax: 100,
numMin: 0,
speed: 200,
delay: 1000,
direction: -1
});
$('#digitwrapper3').digitalnumbers({
mode: 'countdown',
dateTarget: [2000,1,1,0,0,0]
});
});
</script>
</body>
</html>