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

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More
Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.
Solved Okugcinwe kunqolobane

named anchor links do not work in iframes

Zoidman

In developing my web site I ran into the problem that Firefox does not scroll to targets of named anchor links within a page, when the page is in an iframe.

In searching for solutions, I read a lot dated 2010-2011, that its a security thing... and lots of supposed solutions, that only work for some situations, not mine. There were also plenty of people crying "FOUL!" because of it, as there is no risk involved what so ever, and I agree whole heartily.

It is now 2014, and it still does not work, I still see no harm in the practice of linking within a document, no mater how or where it is displayed. It is in fact standard procedure, and highly recommended for navigation sake, and W3 proper.

I love the open source community, and thank everyone involved for their contribution to Firefox, but your developers need to find a way to fight the attempt to exploit the vulnerability, rather than nullifying the vulnerable code itself, at the expense of less code savvy people like me who just want to make simple web content. When I read the responses from Your developers, I saw a lot of non humble cop out replies I would only expect from the likes of Microsoft, who I hope You are not trying to emulate. IE does not have the problem.

In developing my web site I ran into the problem that Firefox does not scroll to targets of named anchor links within a page, when the page is in an iframe. In searching for solutions, I read a lot dated 2010-2011, that its a security thing... and lots of supposed solutions, that only work for some situations, not mine. There were also plenty of people crying "FOUL!" because of it, as there is no risk involved what so ever, and I agree whole heartily. It is now 2014, and it still does not work, I still see no harm in the practice of linking within a document, no mater how or where it is displayed. It is in fact standard procedure, and highly recommended for navigation sake, and W3 proper. I love the open source community, and thank everyone involved for their contribution to Firefox, but your developers need to find a way to fight the attempt to exploit the vulnerability, rather than nullifying the vulnerable code itself, at the expense of less code savvy people like me who just want to make simple web content. When I read the responses from Your developers, I saw a lot of non humble cop out replies I would only expect from the likes of Microsoft, who I hope You are not trying to emulate. IE does not have the problem.

All Replies (1)

Isisombululo Esikhethiwe

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.