471,319 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

content in iframe flicker on load

Hi,

I'm using an iframe in my page.
When the user click on a link in the iframe the transition to the new page is not as smooth as if the page was stand alone.

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3.     <head>
  4.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5.         <title>iframe</title>
  6.     </head>
  7.     <body>
  8.  
  9.         <iframe src="http://www.drupal.org"
  10.             id="childFrame"
  11.             width=100%
  12.             height=800px;
  13.             name="childFrame">
  14.         </iframe>
  15.  
  16.  
  17.  
  18.     </body>
  19. </html>
It It noticeable in FF 2.

Is there a workaround?

Thanks
Jan 10 '08 #1
1 3461
garrow
32
I think the reason you dont see the 'flash' when viewing a page normally, outside of an iframe, is that the previous page is displayed by firefox, until it is ready to display the new page.
You'll notice that the old page is no longer clickable, and sometimes flash content will freeze, but sound will still play.

When inside the iframe, as soon as the browser begins to loads the data, it replaces the content of the iframe with the still downloading content.

You cant really get around this, but why is it such a big issue?
Jan 12 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by clintonG | last post: by
4 posts views Thread by Paul Brant | last post: by
2 posts views Thread by J-T | last post: by
2 posts views Thread by Dst | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.