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);
Comments: