iA


IE 6 != IE6 (from old blog)

by jcf. Average Reading Time: less than a minute.

What’s the difference between IE6.2800 on WindowsXP SP1 and IE6.2600 on Windows2000? 6 hours of finding a workaround for what seems to be a bug in IE6 on Win2000. In the application I’m writing I had to edit richt-text (using eWepEditPro). I did that in a child window and triggered a saveAndReload function in the main document. (Because I’m working with a Domino backend – things have to be saved from time to time ;-) Anyway – on my machine it worked. On my customers machine, the trigger of the function in the parent document didn’t work (window.opener.saveAndReload(); ). Spent hours figuring out where the problem was. Another couple of hours spent to find a workaround that works on both machines and gives me the same functionality.

It works now… Doing a fix-priced project has it’s drawbacks…

2 comments on ‘IE 6 != IE6 (from old blog)’

  1. Steve Wood says:

    Having the same problem. Any chance of sharing your solution?

  2. Uhh – it’s been a while. Let me see, what I did…

    // window.opener.saveAndReload();
    window.opener.document.forms[0].submit();
    document.getElementById('edit').style.display = 'none';
    document.getElementById('saveMsg').style.display = 'block';
    // setTimeout('alert(loc);', 2000);
    setTimeout('window.opener.location.replace(loc)', 5000);
    setTimeout("window.close();", 5500);
    

    In other words: I called the submit function of the parent document, showed a “Saving now” message and then set a 5 second timeout after which I reloaded the parent window. The second timeout (after 5.5 seconds) closes the child window

    Hope that helps

Leave a Reply