Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ
このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。
アーカイブに保管済み

Why parent element not scrolling, when i push anchor link in child, non scrollable element?

keponkratov

I have next problem: on website placed parent scrollable element. Inside him located nonscrollable iframe with document. Iframe height more then page height. In this document located link <a href="#foo">Click</a> and anchor <a id="foo" name="foo">foo</a>. When i push "Click" in all other browsers, page are scroll to anchor "foo", but when i do this in firefox, nothing happens. I don't understand how to fix it (can't make iframe scrollable).

I have next problem: on website placed parent scrollable element. Inside him located nonscrollable iframe with document. Iframe height more then page height. In this document located link <a href="#foo">Click</a> and anchor <a id="foo" name="foo">foo</a>. When i push "Click" in all other browsers, page are scroll to anchor "foo", but when i do this in firefox, nothing happens. I don't understand how to fix it (can't make iframe scrollable).

この投稿は keponkratov により に変更されました

すべての返信 (2)

Hi keponkratov, please ignore the unofficial support solicitation that someone posted. We have no idea where that leads and don't want you to get scammed.

Hi keponkratov, can you share a link to a page demonstrating this problem?

When I search about this issue, I'm not sure I'm finding relevant results. This is interesting, but it involves a scrollable iframe: http://matthewmanela.com/blog/making-linking-between-anchors-in-an-iframe-work-in-firefox-11-and-above/