我有這樣的演示:動畫代碼不起作用
$(document).ready(function(e) {
$(".footer-list li").mouseover(function() {
$(this).animate({ backgroundColor: "#d31d4a" }, 1500);
// $(this).css("background-color", "#d31d4a");
});
});
動畫代碼不工作,我不知道爲什麼!
當我使用.css
時,它沒有任何問題。
誰能告訴我問題是什麼?
發佈相關代碼,而不僅僅是一個鏈接 – 2012-08-07 00:26:21