2011-06-11 65 views
0

我必须做一些愚蠢的,因为我不能让这个简单的动画作品:P简单的jQuery动画的问题

$(document).ready(function() { 
    $('li').hover(function() { 
     $(this).stop().animate({ 
      backgroundColor: '#ff3300' 
     }, 500); 
    }, function() { 
     $(this).stop().animate({ 
      backgroundColor: '#000000' 
     }, 500);   
    }); 
}); 

http://jsfiddle.net/GY3UG/1/

它没有做动画。

回答