2 iframes with the same display even if the src are different

Posted by JulienH on Stack Overflow See other posts from Stack Overflow or by JulienH
Published on 2010-04-28T16:33:49Z Indexed on 2010/04/28 16:53 UTC
Read the original article Hit count: 239

Hi,

I am using this code:

<div class="infobox-pair">
<div class="ibp-left">
    <iframe width="105" height="350" frameborder="0" scrolling="no" style="width: 311px; height: 105px;" marginwidth="0" marginheight="0" name="infobox_flight" id="ibp-left-iframe" src="http://mywebpage.com/paris"></iframe>
</div>
<div class="ibp-right">
    <iframe width="105" height="350" frameborder="0" scrolling="no" style="width: 311px; height: 105px;" marginwidth="0" marginheight="0" name="infobox_package" id="ibp-right-iframe" src="http://mywebpage.com/lisbonne"></iframe>
</div>

That is displaying into the same div two different iframes. When I display the page whatever the browser it happens that I can get the same content for both the iframes even if looking at the source code the iframe are still different (based on their src and id).

It doesn't happen 100% of the time, I have to refresh sometimes several times to see it.

Do you have any clue ?

Thanks in advance

© Stack Overflow or respective owner

Related posts about iframe

Related posts about browser-compatibility