IE Progress Bar Loading Forever for Iframe
IE’s progress bar sometimes makes it seem that the page is loading forever when you load a page in an iframe. The following is a workaround for it:
- Create a
blank.htmlfile in the root web directory. This file need not contain anything. - Create an invisible iframe in your page by setting
frameborder="0"andstyle="height: 0; width: 0" - After the Javascript code that loads the iframe, add the following line:
setTimeout("document.getElementById('ifrDummy').src = 'blank.html'", 100);
One Response to “IE Progress Bar Loading Forever for Iframe”
1 Sdk Cz 25 February 2009 @ 2:23 am
This is a great technique.
Thanks a lot. I’ve searched lots of forums but i could not find the solution. This works for ie 7.
Thx thx thx
Comments: