JS倒计时,咱们改?
js吧
全部回复
仅看楼主
level 1
countdownInit: function (countdownSelector, countdownTime) {
var eventCounter = $(countdownSelector);
{
eventCounter.countdown(countdownTime, function (e) {
$(this).html(
e.strftime(
"<li><h2>%D</h2><h6>Days</h6></li>\
<li><h2>%H</h2><h6>Hrs</h6></li>\
<li><h2>%M</h2><h6>Min</h6></li>\
<li><h2><span>%S</span></h2><h6>Sec</h6></li>"
)
);
});
}
},
目前是从一年365天倒计时,我想设定一个固定的时间倒计时,请问怎么做?比如说从10月1日倒计时,或者倒计时240天
2024年03月30日 05点03分 1
level 1
对这个不是太懂哦
2024年03月30日 13点03分 2
1