0
ナビゲーション中にjQueryを使用してコンテンツをアニメーション化するための小さなWebページを作成しました。それはInternet Explorerで完全に動作しています。 Firefoxを使用していると正しく動作しません。私は絶対として#maincontent
要素の位置を設定しているjQueryでのブラウザの互換性
$("#maincontent").animate({"top":"450px"},800, function(){
$("#maincontent").html($("#"+Lidentity).html())
.animate({"top":"-10px"},600)
.animate({"top":"10px"},100)
.animate({"top":"-5px"},100)
.animate({"top":"5px"},100)
.animate({"top":"0px"},100);
});
を次のように
私のコードです。
実際にはFirefoxでどうなりますか?何もない? FirefoxにFirebugをインストールしていますか?それはエラーを追跡するのに役立ちます。 –