laurenceputra
laurenceputra

Reputation: 317

iframe not showing up in firefox only

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>

Upvotes: 2

Views: 11415

Answers (4)

Zsolti
Zsolti

Reputation: 1607

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/

Upvotes: 2

yatagarasu
yatagarasu

Reputation: 549

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

Upvotes: 5

agx
agx

Reputation: 1

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.

Upvotes: -1

maximumcallstack
maximumcallstack

Reputation: 2917

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

Upvotes: 2

Related Questions