清除setTimeout事件
var animate1=setTimeout(function(){ //文字淡入 $(".shop_wenzititle").animate({top:'35%',opacity:'1'},1000); $(".shop_wenzicon").animate({top:'53%',opacity:'0.8'},2000); },100); clearTimeout(animate1); //停止动画
给心灵一个纯净空间,让思想,情感,飞扬!
var animate1=setTimeout(function(){ //文字淡入 $(".shop_wenzititle").animate({top:'35%',opacity:'1'},1000); $(".shop_wenzicon").animate({top:'53%',opacity:'0.8'},2000); },100); clearTimeout(animate1); //停止动画