eri
03-21-2009, 06:04 PM
Problem site: http://tinyurl.com/dye7dm
I created this site working in Firefox and tested it in IE 7, works perfectly. The JavaScript pre-loads the mouseover images and then does the mouseovers at the appropriate time.
In IE 6 the JavaScript does not execute and the error 'document.X' is null or not an object appears upon mouseover and the mouseover does not work.
I changed the way I produced the JavaScript for this site just slightly from previous sites that worked perfectly, but then I went back in to try to fix it back to the old way and I must have missed something. I'm not a terribly experienced JavaScript user--I used it for a while years ago when mouseovers were the "newest thing" and then didn't use it again until last year when I took a brief class in it that involved very little debugging--basically just "check the error console".... doesn't help in this case because 1) There are no errors generated in Firefox and 2) I checked the error in IE 6, it makes no sense to me and a web search generates results but not results that apply directly to this situation.
I'm stumped. Any suggestions would be greatly appreciated, I'd really like this thing to be cross-browser compatible at least back to IE 6.
I created this site working in Firefox and tested it in IE 7, works perfectly. The JavaScript pre-loads the mouseover images and then does the mouseovers at the appropriate time.
In IE 6 the JavaScript does not execute and the error 'document.X' is null or not an object appears upon mouseover and the mouseover does not work.
I changed the way I produced the JavaScript for this site just slightly from previous sites that worked perfectly, but then I went back in to try to fix it back to the old way and I must have missed something. I'm not a terribly experienced JavaScript user--I used it for a while years ago when mouseovers were the "newest thing" and then didn't use it again until last year when I took a brief class in it that involved very little debugging--basically just "check the error console".... doesn't help in this case because 1) There are no errors generated in Firefox and 2) I checked the error in IE 6, it makes no sense to me and a web search generates results but not results that apply directly to this situation.
I'm stumped. Any suggestions would be greatly appreciated, I'd really like this thing to be cross-browser compatible at least back to IE 6.