在很多年前,叔叔也写过倒计时插件,但是过程还是浪费了很多时间,今天在扒别人网页时遇到一个好用的插件。
jquery.downCount.js
使用方法:
1,引入
有cdn的,或者直接直接到本地,
2,js部分
$(function(){
$('.time').downCount({
date: '2019/07/31 19:00:00',
offset: +8
}, function (){
$('.time').htm...
js:
$('.button-group a').click(function(){ var i = $(this).index(); $(this).addClass('active').siblings().removeClass('active'); $('.customer_list ul').eq(i).show().siblings().hide(); })
