搜尋 Mozilla 技術支援網站

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

了解更多

Link doesn't show up in frame, but will show up in new tab or window

  • 4 回覆
  • 1 有這個問題
  • 33 次檢視
  • 最近回覆由 cor-el

more options

http://www.southernpersuasion.com I have maintained this site for years. Recently, rather than post pictures on a photo storage provider and post them to facebook, I have posted them to facebook and then linked to them from this site (select the Pictures link). When I click on a link, I get a blank page in the frame. When I right click on the link and select Open New Tab, or Open New Window it comes up. I don't think I've messed up the html... in fact, I think I just changed the links from previous entries that were actually linked to PhotoBucket or the like. What is wrong, and how can I fix it? Thanx.

http://www.southernpersuasion.com I have maintained this site for years. Recently, rather than post pictures on a photo storage provider and post them to facebook, I have posted them to facebook and then linked to them from this site (select the Pictures link). When I click on a link, I get a blank page in the frame. When I right click on the link and select Open New Tab, or Open New Window it comes up. I don't think I've messed up the html... in fact, I think I just changed the links from previous entries that were actually linked to PhotoBucket or the like. What is wrong, and how can I fix it? Thanx.

所有回覆 (4)

more options

Looks like a cross domain security issue. You're trying to display a secure (https) page at Facebook in a http frame at your website. But, I only see that happen when simply clicking a hyperlink on the Pictures page. If I right-click and use the This Frame part of the contextual menu, no problems.

I see that in IE, too, except that IE explains the problem.
This content cannot be displayed in a frame - To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame. is what I get in IE8.


Overall, you might want to update that website to the 2nd decade of the 21st century, and also get rid of the Frames by using iFrames.

 
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
<!--
Top frame for www.southernpersuasion.com

Change history:

          Date   Description
    	-------  ------------------------------------------------------------------------------
    1.  8/24/07  Initial implementation
    2.  8/29/07  Added roll over Javascript
    3.  8/31/07  Corrected links to images after revamp.
    4.  9/08/07  Moved visible counter to splash page
    5. 10/21/08  Changed all references to AOL
--> 

Front Page code from the mid-90's doesn't work well in modern browsers. It is displayed in the Quirks Mode, which is a "best guess" situation; for some viewers it might guess correctly, but for most it doesn't work as expected.

more options

選擇的解決方法

more options

Yes... I've been extremely lazy. Front Page does the WYSIWYG thing and is quick and dirty to get things up. Then again, errors like this show me I need to update my skills, which are severely outdated. I've been an Oracle DBA for 15 years or more and do this and a few other sites in my spare time. I guess a good Google search on iFrames can bring me into the 21st century. Thanx.

more options

Note that Firefox supports this for quite some time and that all Mozilla servers (including this forum) send this header.