iframe无法在HTML中使用 [英] Iframe not working in HTML
本文介绍了iframe无法在HTML中使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我已经编写了HTML代码以在页面本身中显示Facebook主页.我已经在html Page中编写了以下代码
< html > ;
< 正文 >
< iframe =" http://www.facebook.com/#" 名称 =" iframe1" 宽度 100%" 高度 =" 框架边框 =" id =" 允许透明 滚动 =" ">> < /iframe >
< /body >
< /html >
但是我没有直接在iframe中获得Facebook导航页面,任何人都可以告诉我如何解决此问题
谢谢,
MOHAMMAD SIDDIQALI.
解决方案
我认为Facebook不再允许您将其嵌入到IFrame中.
http://stackoverflow.com/Questions/2267523/i-want-to-embed-facebook-in-an-iframe-one-way-or-another [ http://developers.facebook.com/search?q=Fb:iframe [ ^ ]
http://stackoverflow.com/questions/5352759/how- to-embed-a-facebook-page-in-an-iframe [<html> <body> <iframe src="http://www.facebook.com/#" name="iframe1" width="100%" height="100%" frameborder="0" id="iframe" allowtransparency="no" scrolling="no"></iframe> </body> </html>
But i am not getting Facebook navigation page directly in Iframe can any one tell me how to solve this problem
Thanks,
MOHAMMAD SIDDIQALI.解决方案I think facebook no longer allows you to embed into an IFrame.
http://stackoverflow.com/questions/2267523/i-want-to-embed-facebook-in-an-iframe-one-way-or-another[^]
You are trying to display facebook website inside in iframe. Facebook detects if the URL is within a iframe and redirects...
more info:
http://developers.facebook.com/search?q=Fb:iframe[^]
http://stackoverflow.com/questions/5352759/how-to-embed-a-facebook-page-in-an-iframe[^]
这篇关于iframe无法在HTML中使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文