$('li > a').hover( function(){ $(this).animate({ backgroundColor: '#2a639a', color: '#fff' },300).corner('5px'); }, function(){ $(this).animate({ background: 'transparent', color: '#444' },300); } );
背景有什么问题:'transparent'? 变回白色,不透明hover()backgroundColor problem
检查出[此问题](http://stackoverflow.com/questions/663568/how-do-i-animate-a-background-color-to-transparent-in-jquery)解决方法 – irishbuzz 2010-09-22 14:48:58