0

SafariとChromeでこの問題が発生しています...Firefoxは機能していると思います。

私はこのjQueryコードを持っています:

$(".featureSection").hover(function(){ 
$(this).stop(true, true).toggleClass("activeSection", 500);
$(this).find(".para").stop(true, true).fadeToggle("slow");
});

これが私がアクセスしているHTMLのセクションです:

<div class="featureSection clearfix">
    <h3>And...</h3>
    <div class="sectionTitle">

        <h1>Holiday Cards</h1>
        <img src="http://crm-newsletter.com/website/images_concierge/gift1.png" alt="" width="229" height="224" />
        <h4 class="para">After closing with your client a beautiful gift and customized thank you card will be sent out as appreciation for their business. </h4>

    </div><!--end sectionTitle -->
</div><!-- end featureSection -->

これがページです:

問題のあるページ

セクションにカーソルを合わせると、ページ全体がジャンプダウンすることに注意してください。これは最初のロールオーバーでのみ発生し、その後はすべて正常に機能します。コードを削除するとジャンプが止まる.findので、何らかの理由でこの問題が発生していると思います。解決策はありますか?たとえそれがまったく異なるものであっても、同じ影響を及ぼします。ありがとう。

4

1 に答える 1

0

<h4>をdivタグでラップし、これに設定することで、最終的にこれを解決し.fadeToggleました。なぜ正確に機能したのかわかりませんが、機能しました。

于 2012-05-18T17:54:19.463 に答える