开发者

iframe not showing up in firefox only

the iframe that i have below is not showing up. In fact it i开发者_开发问答s 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>


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


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]-->


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/


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜