Skip to content Skip to sidebar Skip to footer

Javascript Onmouseover Not Working With Doctype In Firefox?

I am using the JavaScript onmouseover event for the menu on my website, but it does not work in firefox when I declare a doctype. And if i don't declare a doctype IE displays the p

Solution 1:

Firefox does not like the way you refer to your images by name. Use Id and getElementById instead.

Edit. Notice excellent Ben Blank' comment that for some reason WMD won't correctly display in the post.

Solution 2:

Ok great I got it working with javascript. I have to say I'm so impressed with this community, thanks for all your help. Now I'm going to learn to do it the right way ;).

Post a Comment for "Javascript Onmouseover Not Working With Doctype In Firefox?"