Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/list/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jquery鼠标悬停抖动_Jquery_Css - Fatal编程技术网

jquery鼠标悬停抖动

jquery鼠标悬停抖动,jquery,css,Jquery,Css,我的元素一直在抖动,当我将鼠标移到父元素上时?任何帮助都将是惊人的,谢谢 $(document).ready(function(){ $("div.row1 div.one").mouseover(function() { $("div.row1 div.one img").animate({"bottom":"0px"}, "600"); }); $("div.row1 div.one").mouseout(function() { $

我的元素一直在抖动,当我将鼠标移到父元素上时?任何帮助都将是惊人的,谢谢

$(document).ready(function(){
    $("div.row1 div.one").mouseover(function() {
        $("div.row1 div.one img").animate({"bottom":"0px"}, "600"); 
    });
    $("div.row1 div.one").mouseout(function() {
        $("div.row1 div.one img").animate({"bottom":"74px"}, "600");    
    });

});




         <div class="row1">
            <div class="one">
                <div class="post_data">
                    <h1 class="post_title">The Post Title</h1>
                    <h2 class="post_snippet">Lorem Ipsum Dolar Sit Amet.</h2>
                    <p class="post_date">3/14/2012</p>
                </div> <!-- post_data //-->
            <img src="test_img1.jpg" alt="test"/>
            </div>
$(文档).ready(函数(){
$(“div.row1 div.one”).mouseover(函数(){
$(“div.row1 div.one img”).animate({“bottom”:“0px”},“600”);
});
$(“div.row1 div.one”).mouseout(函数(){
$(“div.row1 div.one img”).animate({“bottom”:“74px”},“600”);
});
});
职位名称
洛雷姆·伊普苏姆·多拉·希特。
2012年3月14日


在设置动画之前停止。像这样

$(document).ready(function(){
    $("div.row1 div.one").mouseover(function() {
        $("div.row1 div.one img").stop().animate({"bottom":"0px"}, "600"); 
    }).mouseout(function() {
        $("div.row1 div.one img").stop().animate({"bottom":"74px"}, "600");    
    });

});

我已经有一段时间没有做任何jquery了,只是记不起正确的函数sweetsoup。