标签:pdo timeout addclass win on() == rem 应用 fun
function twinkle(){
let count = 0;
(function bb(){
setTimeout(function(){
$("#mapdots .twinkle").removeClass("active");
if(count==3){
count=0;
}
$($("#mapdots .twinkle")[count]).addClass("active");
count++;
bb();
},1500);
})();
标签:pdo timeout addclass win on() == rem 应用 fun
原文地址:http://www.cnblogs.com/xiaozhuzhuandxiaomoney/p/7452401.html