mouseleave:function(){
$(this).stop(true).animate({ height: "0px"}, 100);
$(this).animate({ height: "100px"}, 300).toggleClass("bg_blue");
},
我上代码,应该是动画执行完了,再设置蓝背景呀
可是我发现,立马设成bg_blue了然再才是动画效果
为啥没按顺序执行(应该和stop(true)无关)
qq_笑_17
侃侃无极
慕莱坞森
随时随地看视频慕课网APP