This time I will share jQuery Plugin and tutorial about Minimal Countdown Timer Library For jQuery – uiTimeBomb, hope it will help you in programming stack.
uiTimeBomb is a really simple jQuery plugin that provides a flexible way to create countdown timers with custom output formats on the webpage. Also provides as a pure JavaScript version which you can implement on your current web project without any dependencies.
How to use it:
1. Add the jquery.uitimebomb.min.js
script after you’ve added jQuery library.
1 |
< script src = "//code.jquery.com/jquery.min.js" ></ script > |
2 |
< script src = "src/jquery.uitimebomb.min.js" ></ script > |
2. Create a placeholder element for the countdown timer.
3. The JavaScript (jQuery script) to render a new countdown timer that will counts down from a specific time.
4. Default plugin settings to customize the countdown timer.
06 |
format: "{y} years, {m} months, {d} days, {h} hours, {i} minutes, {s} seconds" , |
This awesome jQuery plugin is developed by WCPDigital. For more Advanced Usages, please check the demo page or visit the official website.