forked from RTPSUGMembers/rtpsugmembers.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclock.html
42 lines (35 loc) · 834 Bytes
/
clock.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
---
layout: index
title: PS Saturday
group:
tagline: Join us Sept. 21 2019
tags : [components]
img :
img-mobile :
author : RTPSUG
css:
js:
keywords: components, demo
canonical: https://rtpsug.com
---
<div class="message">TESTINFG</div>
<div class="clock" style="margin:2em;"></div>
<div class="message">TESTINFG</div>
<script type="text/javascript">
var clock;
$(document).ready(function() {
var clock;
clock = $('.clock').FlipClock({
clockFace: 'DailyCounter',
autoStart: false,
callbacks: {
stop: function() {
$('.message').html('The clock has stopped!')
}
}
});
clock.setTime(220880);
clock.setCountdown(true);
clock.start();
});
</script>