Circular Progress Bar Countdown (Original)
Add-ons

Plugin description: Implements a circular countdown using CSS and jQuery. Compatible with IE8 and above (with some visual differences), but works correctly.
Last updated: 2018/6/14 5:16:45 PM
Changelog:Modified CSS for Safari compatibility.
Usage
Include the jQuery library and /jquery.tzineClock.js.
1 2 | <script src="time/jquery.tzineClock.js"></script> |
hmtl
1 2 | <div data-time="2018-06-01 14:59:00" data-type="time" id="fancyClock1"></div><div data-time="2019-09-24 12:12:12" data-type="dayTime" id="fancyClock"></div> |
js
1 2 3 4 5 6 | $('#fancyClock').tzineClock({ // Circle class name and the color image for the current circle colors: ['circle1', 'circle2', 'circle3', 'circle4'], // Text displayed inside the circle words: ['Days', 'Hours', 'Minutes', 'Seconds'],}); |
评论