在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:Reflejo/jquery-countdown开源软件地址:https://github.com/Reflejo/jquery-countdown开源编程语言:JavaScript 83.2%开源软件介绍:jQuery CountdownjQuery Countdown is a countdown library with an amazing animation. Take a look at the demonstration Now you can download the PSD file here. Basic usage: $('#counter').countdown({startTime: "01:12:32:55"}); Complete usage: $('#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 $('#counter').countdown({
format: 'sss',
startTime: "120",
continuous: true,
timerEnd: function() { alert('end!!'); },
image: "digits.png"
}); Countdown to a DateRelative to current hour: $('#counter').countdown({
image: "digits.png",
format: "mm:ss",
endTime: '50:00'
}); An absolute date: $('#counter').countdown({
image: "digits.png",
format: "mm:ss",
endTime: new Date('07/16/13 05:00:00')
}); Start manually the counter: $('#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
DemoLook at the demo. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论