// 热门推荐悬浮效果
    $("#recom_con li img").mouseenter(function(){
        $(this).stop(true, true);
        $w = parseInt($(this).width())+10;
        $(this).animate({'width':$w},300);
    });
    $("#recom_con li img").mouseleave(function(){
        $(this).stop(true, true);
        $w = parseInt($(this).width())-10;
        $(this).animate({'width':$w},300);
    });

 

http://www.w3school.com.cn/jquery/effect_stop.asp

相关文章:

  • 2021-12-01
  • 2022-12-23
  • 2021-06-13
  • 2022-12-23
  • 2021-06-07
  • 2021-10-01
  • 2022-02-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-11
  • 2022-12-23
  • 2022-03-09
  • 2022-12-23
相关资源
相似解决方案