17
jQueryアニメーションbackgroundColor
マウスオーバーでjQueryを使用してbackgroundColorの変化をアニメーション化しようとしています。 私はいくつかの例をチェックしましたが、それは正しいようです。fontSizeのような他のプロパティで動作しますが、backgroundColorを使用すると、「無効なプロパティ」のjsエラーが発生します。私が使用している要素はdivです。 $(".usercontent").mouseover(function() { $(this).animate({ backgroundColor: "olive" }, "slow"); }); 何か案は?