[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

Iframe Location Change Shows Continuous Progress Bar in IE6 Status Bar

I've set up a page with an iframe on it that has its src property changed by hyperlinks that call a javascript function. The problem I am running into is that periodically, when the hyperlink is clicked, the src does change and brings back the fully rendered page, but the progress bar in IE6's status bar continues to churn, as if it is still processing the page. The funny thing is if you immediately click the link again, the progress bar completes. Also, sometimes when clicked once, the progress bar completes; other times it continues to churn. Has anyone come across this behavior and found a fix?

Below is the javascript function:

function showDetail(dateColumn) {
      iframe_url += 'iframepage.cfm?datecolumn=' + dateColumn;
      document.getElementById('iframe_report_detail').src = iframe_url;
}

0
DanielSKim
Asked:
DanielSKim
1 Solution
 
ZvonkoSystems architectCommented:
I have seen that effect but do not know the reason nor the cure.
Only thing I would do in other way is this:

function showDetail(dateColumn) {
    iframe_url += 'iframepage.cfm?datecolumn=' + dateColumn;
    window.frames.iframe_report_detail.location.replace(iframe_url);
}

But for that your IFRAME needs also the name= attribute not only the id= attribute.

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now