1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

美化 鼠标悬浮缩进

Discussion in 'XenForo中文版' started by admin, 2012-04-27.

  1. admin

    admin 管理员 Staff Member

    Joined:
    2011-11-01
    Messages:
    3,671
    Likes Received:
    2,425
    H3标题鼠标悬浮缩进效果
    header中加入
    Code:
    <script type="text/javascript">
    $(document).ready(function(){
    $("h3 a").hover(function(){
        $(this).stop().animate({marginLeft:"10px"},300);}
      ,function(){
        $(this).stop().animate({marginLeft:"0px"},300);
    });
    });
    </script>
    感谢:Terminal™分享
     
    Kryon likes this.
Loading...