Skip to content

Commit 9b1ec99

Browse files
committed
- (Example) Added Twelve Hour Clock example without seconds
1 parent 4c702af commit 9b1ec99

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<html>
2+
<head>
3+
<link rel="stylesheet" href="../compiled/flipclock.css">
4+
5+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
6+
7+
<script src="../compiled/flipclock.js"></script>
8+
</head>
9+
<body>
10+
<div class="clock" style="margin:2em;"></div>
11+
12+
<script type="text/javascript">
13+
var clock;
14+
15+
$(document).ready(function() {
16+
clock = $('.clock').FlipClock({
17+
clockFace: 'TwelveHourClock',
18+
showSeconds: false
19+
});
20+
});
21+
</script>
22+
23+
</body>
24+
</html>

0 commit comments

Comments
 (0)