0
我正在使用.animate函数来为另一个div内的div制作动画效果。 它工作正常,在同一页面的div的第一块,但它并没有在其他divs。。动画jquery无法正常工作
有关如何解决这个问题的任何想法?
这里是的jsfiddle例如http://jsfiddle.net/atseros/CkaHG/2/
$(document).ready(function() {
$("#displayscroll").hover(
//on mouseover
function() {
$(this).animate({
height: '+=170'
}, 'slow'
);
},
//on mouseout
function() {
$(this).animate({
height: '-=170px'
}, 'slow'
);
}
);
});