最近出现了一个问题,页面中有基于jqury的滚动效果,一开始的进去的是正常的,但是看其他页面再回来看时,动画效果没了,如果刷新的话,又好了..请解啊

解决方案 »

  1.   

    代码没执行?
    $("#the11").hover(function(){
    clearInterval(txtTime);
    },function(){
    txtTime=setInterval(function(){
    $("#the11").animate({marginTop:"-117px"},2000,function(){
    $("#the11").css("marginTop","0px").find("dl:first").appendTo("#the11")
    })
      
    },5000)
                         }).trigger("mouseleave")
    在动画失效的时候只执行了$("#the11").css("marginTop","0px").find("dl:first").appendTo("#the11"),
      

  2.   

    这是网址:http://www.lifesoo.com/index.php?upcache=1