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

搜索 | 用户支持

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

详细了解

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

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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.