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

搜尋 Mozilla 技術支援網站

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

了解更多

Link opened in an IFRAME abandons the page

  • 1 回覆
  • 2 有這個問題
  • 159 次檢視
  • 最近回覆由 rwgregory

A certain page on my site uses an iframe to link to a page in another domain. My page loads properly and displays the content from the remote domain in the iframe that I expect to see.

Problem comes whenever I click on any link within the iframe. The page from the remote domain abandons my page, reloading in the browser, instead of refreshing the contents of the iframe.

Any suggestions to correct this?

A certain page on my site uses an iframe to link to a page in another domain. My page loads properly and displays the content from the remote domain in the iframe that I expect to see. Problem comes whenever I click on any link within the iframe. The page from the remote domain abandons my page, reloading in the browser, instead of refreshing the contents of the iframe. Any suggestions to correct this?

由 rwgregory 於 修改

所有回覆 (1)

DOH!!

"Accept third-party cookies" was turned off in Privacy settings. Allowing third-party cookies solved the iframe refresh problem in Firefox 4.