IE 上带有 facebooker 的嵌套 iFrame facebook 应用程序

发布于 2024-08-15 01:00:15 字数 379 浏览 1 评论 0原文

我尝试使用 iFrame 创建简单的 facebook 应用程序,但我总是在每次单击应用程序上的链接时得到嵌套的 iFrame,我已经尝试了网站 http://railsrant.com/2009/10/14/creating-a- facebook-iframe-app-using-ruby-on-rails-facebooker/ 它适用于 Firefox 和 Chrome,但不适用于 IE

对此有什么想法或建议吗?

谢谢

I've tried to create simple facebook app with iFrame,, but I always get nested iFrame on every I click link on my application, I already tried a solution from site http://railsrant.com/2009/10/14/creating-a-facebook-iframe-app-using-ruby-on-rails-facebooker/
it's work on Firefox and Chrome, but doesn't work at IE

Any idea or suggestion for this?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

动听の歌 2024-08-22 01:00:15

我认为你应该在你的 head 部分使用这一行,这将在父窗口中打开链接而不是 iframe: 中的 iframe:

 <base target="_parent" />

并使这些 URL 与 canvasURL(facebook 应用程序 URL) 相关。我希望这能解决您的问题。

I think you should use this line in your head section, this will open the links in parent window instead of iframe in iframe:

 <base target="_parent" />

and also make these URL related to canvasURL(facebook app URL). I hope this will solve your problem.

葵雨 2024-08-22 01:00:15

target="_top" 添加到您的 链接

add target="_top" to your <a href="..."> links

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文