When I load the page with IE6 (IETester) I get to see following error instead of transparent pngs:
http://drupal.org/files/ie-fehler.gif

The script seems to work somehow at least a bit as sometimes I saw the alt text error http://drupal.org/node/360774 ... sometimes.
This is the code IE is refering to.

            <script type="text/javascript">document.execCommand("BackgroundImageCache", false, true);

Choosing garland as a theme, installing the module on another server with anoter theme or removing the spaces before the script tags doesn't help.

I couldn't figure out what the source of the error is, maybe you can?
Anyway thanks for your work.

CommentFileSizeAuthor
#1 ie-error-375020.gif4.4 KBs.daniel

Comments

s.daniel’s picture

StatusFileSize
new4.4 KB

The uploaded gif file is not available, here is another try.

mrjeeves’s picture

Title: js Error in IE6 » BackgroundImageCache breaks IETester and MultipleIE
Assigned: Unassigned » mrjeeves

I've changed the title as it has come to my attention that this is an issue with IETester and MultipleIE not correctly implementing the BackgroundImageCache. New versions of the module will be available soon that wrap the command with a try/catch to avoid this issue. thank you everyone for helping to find and squash this little bug

tsi’s picture

Subscribing, any news on this one ?

portulaca’s picture

subscribing

DrupalNovice’s picture

I recommend using Internet Explorer Collection to bypass this problem.

Countzero’s picture

Unfortunately, I have the same kind of problem with both IETester and Internet Explorer Collection, except it's on line 96 char 6.

The faulty line seems to be this one :

elm.style.height = parseInt(elm.currentStyle.height) - (pads.Top + pads.Bottom);

Removing it and the including test solves the error, but I guess it will break something else.

Any help would be welcome.

mrjeeves’s picture

Version: 6.x-1.7 » 6.x-2.x-dev
Status: Active » Needs review
mrjeeves’s picture

Status: Needs review » Closed (cannot reproduce)

After implementing the setting to disable backgroundimagecache, I can no longer reproduce this issue.