JS によってトリガーされるオーバーレイがあり、オーバーレイ内にスクロールするコンテンツがあります。このページには、いくつかの埋め込まれた youtube ビデオもあります。私が抱えている問題は、オーバーレイのコンテンツが Chrome でスクロールしないことです。他のすべてのブラウザでは正しく動作します。両方の YouTube ビデオに wmode=opaque を追加しました (wmode=transparent も試しました)。両方の動画を削除すると、Chrome でもスクロールが機能し始めます。
ありがとう
オーバーレイは次のとおりです。
<div class="contact-overlay"><a class="close" href="#">X CLOSE</a><h3>Testimonials</h3><div class="content testimonials">
<h4 class="testimonials">See what our <span>satisfied customers</span> have to say:</h4>
<p>a lot of text</p>
スタイル:
.contact-overlay { position: absolute; width: 640px; height: 730px; margin-left: -320px; left: 50%; top: 50px; background: #ffffff; z-index: 500; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; }
.contact-overlay a.close { font-family: "Arial Black", Gadget, sans-serif; color: #da3407; text-decoration: none; position: absolute; top: 5px; right: 10px; font-size: 18px; }
.contact-overlay .content { overflow: auto; height: 550px; width: 590px; margin-left: 25px; }
.contact-overlay .content.testimonials { margin-top: 30px; }
サイトはローカルで開発されているため、リンクはありません。ごめん。