jquery animate 鼠标快速移动闪烁的解决办法

 $(function () {
        $("li").mouseover(function () {
            var obj = $(this);
            obj.stop(true,false).animate({ opacity: "0.7" }, 500);
        }).mouseout(function () {
            var obj = $(this);
            obj.stop(true,false).animate({ opacity: "1" }, 500);
        });
    });

  

posted @ 2013-05-17 23:33  Ganler1988  阅读(279)  评论(0编辑  收藏  举报