2
我正在使用基思木jquery倒计时插件为我即将到来的页面,我想添加7天10小时40分钟倒计时。你可以找到更多在这里http://keith-wood.name/countdown.html如何设置7天倒计时基思木Jquery倒计时插件
这是我的代码:
function countdown() {
// src: http://keith-wood.name/countdown.html
layout = $('.timer').html();
var newYear = new Date();
newYear = new Date(newYear.getDate() + 7, 1 - 1, 1);
$('.timer').countdown({until: newYear, layout: layout});
}
提前感谢!