IE javascript bug is kicking my ass
June 19, 2008 4:06 PM
Subscribe
Javascript/CSS and IE6/7: content called from a javascript file (a modified form of
fontSizer) into an otherwise blank div appears and disappears intermittently in IE6/7. Help a newbie!
I know enough Javascript to just squeak by, but this bug is bugging the hell out of me. The content written from a .js file (images and text) appears every time in Firefox but only sometimes in IE6/7. Sometimes a page reload will reveal it, sometimes returning to the page from another page on the site will reveal it.
My first guess was the peekaboo bug, but none of the fixes work and if I disable the pages' css the content still appears/disappears the same way.
The pages in question are still in development (i.e. not live), so MeFi Mail me for a URL.
Any ideas or suggestions on how to debug this are gratefully welcomed!
posted by Paragon to computers & internet (6 comments total)
Have you got multiple addDOMLoadEvent calls (i.e. calling the same or different functions several times for different DOM objects)? Does it work when you call the function from a <body onLoad="..."> event?
(I'm off to uni - yay, exams! - so someone else will have to help further.)
posted by Pinback at 5:48 PM on June 19, 2008