After recently upgrading to Drupal 4.7.5 my site stopped loading properly in Internet Explorer. Firefox, Safari etc...work fine.
Pages will partially load, but when Flash content is encountered, I get an IE dialog box that says
"Internet Explorer cannot open the Internet site http://www.yoursite.com. Operation Aborted"
I did some searching and discovered this post: http://drupal.org/node/125650 which talks about how FCKEditor will sometimes give this errror in IE - it has to do with the way FCKEditor calls javascript.
This bit of the post seems relevant, since I'm using Geofff Stern's javascript library to embed the swf:
For Internet Explorer 6 and 7 some javascripts (specifically those which interact with the document model, and especially those which might interact with it before it has finished loading) must be placed at the end of the document (eg. just inside the body tag, but after all of the other tags are closed) and NOT IN THE MIDDLE of the document. If they are placed in the middle, Internet Explorer MIGHT (ie. MIGHT the second time you load the page, but not the first, or MIGHT with certain security settings but not others) refuse to load the page, with this error: "Internet Explorer cannot open the Internet site - Operation Aborted" and then, if you click the BACK button after seeing this error, Internet Explorer MIGHT take you back to the page successfully!
I tried the proposed solution - moving the script block from the middle of the body tag to right before the end, but all that accomplished is that more of the page loaded before the error message came up.
I'm currently stuck, and wondering if anyone might have any suggestions.
Thanks,
B-Dot
Comments
The Culprit - the jTooltips Module
After much effort (lots of good stuff on this issue here - I even got as far as writing a SetTimeOut function in JavaScript to delay the loading of the SWF) I discovered what the problem was.
Earlier today I had installed the brand new jTooltips Module. When I disabled it, the problem went away. I guess that's what you get for being an early beta tester of a new module :>) (it was released yesterday).
I'll alert the author of the module.
Thanks for the complete
Thanks for the complete feedback. I noticed this problem on my site, but i thought that that error was caused by a bad interaction beetween different scripts loaded in the header.
I asked to the author of jQuery tooltips here. The answer was similar:
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ (check at the bottom page).
Ok, then i should put the script at the bottom page, before the end body tag. I will try this way.
___________________
Katapekkia | Multiblog Sociale
Psicomante Blog
Psicomante's Themes for Drupal
___________________
Drupal Italia
Psicomante Blog