iframe not showing up in firefox only

2019-05-23 10:17发布

the iframe that i have below is not showing up. In fact it is greyed out in firebug.

But it loads perfectly fine in Chrome and Safari. Can anyone point me in the right direction?

Thx alot.

<iframe allowtransparency="true" scrolling="no" frameborder="0"
src="http://widget.yourchalkboard.com/show_widget.php
?token=AP6sWcLms0DkU0gd7zCykmNNkUdb76uP7FPuIGlZ8aXFWlhOp8&type=leaderboard"
style="height:90px;width:728px;padding:0px;border-width:0px"></iframe>

标签: html css iframe
4条回答
再贱就再见
2楼-- · 2019-05-23 10:30

I had this type of problem once with a file in development that had the word "frame" as part of its filename. By changing the name of the file, this problem went away.

查看更多
冷血范
3楼-- · 2019-05-23 10:37

check your adblock. just FYI. had the same problem. lost a day. lol.

查看更多
地球回转人心会变
4楼-- · 2019-05-23 10:43

I have met the same thing, and it seems that the issue was that the main page's URL was accessed with an IP address instead of a domain name. More info at http://code007.wordpress.com/2012/06/21/iframe-not-loading-in-firefox-13/

查看更多
小情绪 Triste *
5楼-- · 2019-05-23 10:47

Don't use Iframes, only for IE8 and below. Use object

Do this (This example will use iframes for ie9, no biggie (u can use lte ie8 instead).

<!--[if IE]>        
<iframe class="whatever_IE" align="???" src="????" width="???" height="???" border="none" scrolling="no" frameborder="0"></iframe>
<![endif]-->

<!--[if !IE]>-->
<object  type="text/html" class="whatever" data="????" width="???" height="???"></object>   
<!--<![endif]-->
查看更多
登录 后发表回答