私はこのIE 7に夢中になっています...
==> hhttp://neu.emergent-innovation.com/
次の関数が IE 7 では機能しないのに、Firefox では完全に機能するのはなぜですか? アニメーション機能にバグはありますか?
function accordion_starting_page(){
// hide all elements except the first one
$('#FCE-Inhalt02-ContentWrapper .FCE-Fade:not(:first)').css("height", "0").hide();
$('#FCE-Inhalt02-ContentWrapper .FCE-Fade:first').addClass("isVisible");
$('div.FCE-Title').click(function(){
// if user clicks on an already opened element => do nothing
if (parseFloat($(this).next('.FCE-Fade').css("height")) > 0) {
return false;
}
var toHide = $(this).siblings('.FCE-Fade.isVisible');
toHide.removeClass("isVisible");
// close all opened siblings
toHide.animate({"height": "0", "display": "none"}, 1000);
$(this).next('.FCE-Fade').addClass("isVisible").animate({"height" : "200"}, 1000);
return false;
});
}
ご助力ありがとうございます...
どうもありがとう、それらは素晴らしいヒントでした!残念ながら、それはまだ機能しません...
問題は、IE がアニメーションが終了するまで両方のコンテナーのコンテンツを表示することです... Firefox は正しく動作します...「オーバーフロー: 非表示」の問題だと思いましたが、何も変わりませんでした。
私はすでにアコーディオンプラグインを試しましたが、まったく同じように動作します...