Operation aborted in IE error - tried fix and still not working
When loading this gallery I'm still getting an "Operation aborted" error in IE sometimes (other times it loads fine). I've moved the script that fills the header div to the footer in the SmugMug customization so that it's not within anything but the body. I also added defer="defer" to it, and yet it still fails sometimes. Does anybody have any idea how to fix this?
Gallery, among others, that somestimes fails in IE: http://gallery.lsb-photo.com/gallery/3538078
Gallery, among others, that somestimes fails in IE: http://gallery.lsb-photo.com/gallery/3538078
0
Comments
Hi,
I'm not getting an IE error in the gallery above. Are you still getting it?
Smug since 2006
SmugMug Help
PhotoscapeDesign
It's the following line in the footer section:
so.write("flashcontent");
This modifies the page before it has been completely loaded. We used to have a code snippet from the Yahoo library that ensured that the function would only be executed when the page had been sucessfully loaded. Something like YUI.onAvailable followed by the code that you wanted to execute. Do you recall?
Sebastian
SmugMug Support Hero
Hmmm, I'm getting no errors in IE ... odd.
Anyway, the function may be something like this:
YE.onDOMReady(function() {
But I have no idea as to how to make it work with the above code. JT would know for sure.
Smug since 2006
SmugMug Help
PhotoscapeDesign
Sebastian
SmugMug Support Hero
Thanks,
Scott
Portfolio • Workshops • Facebook • Twitter
I think everything is actually working fine now - my header wasn't showing up before I think because of javascript issues (missing semicolons and the like)... Seems fine now.
Thanks anyway!