Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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/