mirror of
https://github.com/objectivehtml/FlipClock.git
synced 2024-09-21 18:37:25 +00:00
28 lines
566 B
HTML
28 lines
566 B
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="../compiled/flipclock.css">
|
|
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
|
|
|
<script src="../compiled/flipclock.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="clock" style="margin:2em;"></div>
|
|
|
|
<script type="text/javascript">
|
|
var clock;
|
|
|
|
$(document).ready(function() {
|
|
|
|
// Instantiate a counter
|
|
clock = new FlipClock($('.clock'), 10, {
|
|
clockFace: 'Counter',
|
|
autoStart: true,
|
|
countdown: true
|
|
});
|
|
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html> |