搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

more options

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)

more options

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.

more options

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/