$('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