hwg-techniques archives | Jan 2000 | new search | results | previous | next |
onmouseover in an <img> tag in NN4.5by "Peter Newton" <c-newton(at)ihug.co.nz> |
|
I am finding that when I use onmouseover in an <img> tag it does not work in NN4.5, <img src="abc.gif" onmouseover="alert(It works!!);"> .... it doesn't work in NN4.5, OK in IE4 & 5 If I put it into an anchor tag (without the href="" ) <a onmouseover="alert(It works!!);"><img src=abc.gif></a> .... it doesn't work in NN4.5, OK in IE4 & 5 If I now simply put in ... href="blah.html" ..... <a href="blah.html" onmouseover="alert(It works!!);"><img src=abc.gif></a> It works in both browsers Can anyone help as I don't want the image to be a link but I do want a mouseover effect Many thanks Peter Newton
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA