资源说明:Amazing jQuery Countdown plugin!, Check it out.
# jQuery Countdown jQuery Countdown is a countdown library with an amazing animation. Take a look at the [demonstration](http://reflejo.github.com/jquery-countdown/) Now you can download the PSD file [here](https://github.com/Reflejo/jquery-countdown/blob/master/img/digits.psd). ### Basic usage: ```javascript $('#counter').countdown({startTime: "01:12:32:55"}); ``` ### Complete usage: ```javascript $('#counter').countdown({ stepTime: 60, format: 'hh:mm:ss', startTime: "12:32:55", digitImages: 6, digitWidth: 53, digitHeight: 77, timerEnd: function() { alert('end!!'); }, image: "digits.png" }); ``` ### Added continuous countdown ```javascript $('#counter').countdown({ format: 'sss', startTime: "120", continuous: true, timerEnd: function() { alert('end!!'); }, image: "digits.png" }); ``` ### Countdown to a Date Relative to current hour: ```javascript $('#counter').countdown({ image: "digits.png", format: "mm:ss", endTime: '50:00' }); ``` An absolute date: ```javascript $('#counter').countdown({ image: "digits.png", format: "mm:ss", endTime: new Date('07/16/13 05:00:00') }); ``` Start manually the counter: ```javascript $('#counter').countdown({ image: "digits.png", format: "mm:ss", endTime: new Date('07/16/13 05:00:00'), start: false }); $("#startButton").click(function (e) { $('#counter').start(); }); ``` Did I mention that js code weighs just **4.0 KB**? ### Developers - Martín Conte Mac Donell -- [@fz](https://twitter.com/fz) - [Matt Neary](http://mattneary.com) - ### Demo Look at the [demo](http://reflejo.github.com/jquery-countdown/).
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。