jQuery方法,我实现不了动画啊??
<script>
$(function(){
$('a').hover(
function(){
$(this).stop().animate({"width":"160px"},200);
},
function(){
$(this).stop().animate({"width":"120px"},200);
}
)
})
</script>
就是老师讲的第二种代码比较少的方法,我写出来实现不了动画,谁帮我看一看代码哪里有问题还是怎么着?