var timer;$("li").on("mouseover",function(){ clearTimeout(timer); timer=null; $(this).addClass("active"); ...
var timer;$("li").on("mouseover",function(){ clearTimeout(timer); timer=null; $(this).addClass("active"); $(this).siblings().removeClass("active"); var $index=$(this).index(); /*$(".wrapper").animate({top:-$index*300});*/ timer=setTimeout(function(){ $(".wrapper").animate({top:-$index*300}); },300)}); $('.dd').find($(".cc")).hover(function(){ $(this).find(".c1").stop().animate({width:0},100,function(){ $(this).hide().next().show().animate({width:300},100); }) },function(){ $(this).find(".c2").animate({width:0},100,function(){ $(this).hide().prev().show().animate({width:300},100); }) });
原标题:百度地图API首页
关键词:百度
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。