By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,199 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

content in iframe flicker on load

P: 54
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
Share this Question
Share on Google+
1 Reply


P: 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.