1

我一直在用这个链接上的教程制作一个动画菜单。但是它只会显示两个项目。我已经尝试过了,这就是问题所在。

$(document).ready(function(){  

//When mouse rolls over  
$("li").mouseover(function(){  
    $(this).stop().animate({height:'150px'},{queue:false, duration:600, easing: 'easeOutBounce'})  
});  

//When mouse is removed  
$("li").mouseout(function(){  
    $(this).stop().animate({height:'50px'},{queue:false, duration:600, easing: 'easeOutBounce'})  
});  

});

4

0 回答 0