jq hover方法用法 例子

<script type="text/javascript">
    $(function(){
        $('.caseslist').hover(function(){
            if(!$(this).is(":animated")){
                $(this).children('.casedetail').animate({'bottom':'0px'}, 300);
            }
        },function(){
        $(this).children('.casedetail').animate({'bottom':'-50px'}, 300);
        });
    });
</script>

原文地址:https://www.cnblogs.com/mm2015/p/5261319.html