Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Content do not appear in iframe until i use the edit button in firebug

Its getting me crazy in FF. I tried the same page in Chrome and content appears instantly.

I have an iframe that is loading a chart from another page.

The problem is that the chart do not appears until I inspect the element and click on the edit element button. Once I add space after the src property in the html code (see below for better understanding) the graph will be displayed instantly.

Graph using is of jqPlot

Before

<iframe src="http://localhost:4501/mainpage/graph.aspx"></iframe>

After

<iframe src="http://localhost:4501/mainpage/graph.aspx" ></iframe>

Image here.

alt text http://img294.imageshack.us/img294/252/crazything.jpg

like image 751
David Bonnici Avatar asked Nov 06 '22 17:11

David Bonnici


1 Answers

<iframe src="#" onload="this.src='http://localhost:4501/mainpage/graph.aspx'">No Ifrmae allowed</iframe>

i am not sure why it does that could be a something from your computer ... but give this a go. btw if you get the "no iframe allowed" could be that your ff has disabled iframe. sience you have mentioned that it shows the frame but there is a loading problem... then do check on your firebug... on the NET tab "http://localhost:4501/mainpage/graph.aspx" has been loaded successfully.

like image 197
Val Avatar answered Nov 12 '22 12:11

Val