How to create jquery countdown timer – Javascript Countdown Timer

To create this countdown we will use this plugin.

The Final Countdown is a plugin tailored to be used in any layout, without any CSS/HTML dependency. The goal was to fit and mimic differents countdown styles as you see out there in coupons and auction sites.

 

Is very easy to setup this plugin.

HTML:

<div id="countdown"></div>

 

jQuery:

jQuery('#countdown').countdown('2015/01/01', function(event) {
   jQuery(this).html(event.strftime('%w weeks %d days %H:%M:%S'));
 });

 

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x