Introduction
countdownTimer is a reverse count down jQuery plugin for displaying countdown as per your need. It also displays current local time.
This project is looking for help! You can donate to the ongoing pledgie campaign
and help spread the word. If you've used the plugin, or plan to use, consider a donation - any amount will help.
You can find the plan for how to spend the money on the pledgie page.
Getting Started
Include jQuery, the plugin and its css file on a page. Add a div and span element. Then call the countdowntimer
method with the required options on the span element id.
<script type="text/javascript" src="jquery-2.0.3.js"></script>
<script type="text/javascript" src="jquery.countdownTimer.js"></script>
<link rel="stylesheet" type="text/css" href="jquery.countdownTimer.css" />
<div id="countdowntimer"><span id="future_date"><span></div>
<script type="text/javascript">
$(function(){
$('#future_date').countdowntimer({
dateAndTime : "2018/01/01 00:00:00",
size : "lg"
});
});
</script>
For more information on how to use different options, check the documentation.
Also refer the demos for more clarity.
Dependencies
jQuery greater than or equal to version 1.5.
Support
Please post bug reports and other contributions (enhancements, features) to the GitHub issue tracker.
License
Copyright (c) 2014 Harshen Pandey
Licensed under the MIT and GPLv3 license.