peterinwa
08-02-2002, 09:34 PM
I simply want an image href which takes you to a new url if you click on it, but also calls a function onMouseOver. I'm struggling with the use of " and ' and ; and so on. Something like this:
<a href="javascript:location='newURL.html'" onMouseOver="callFunction()">
<img src="images/button_07.jpg" width=125 height=45></a>
I get an error message pointing to the first character "h" in href no matter what I try.
Thanks.
<a href="javascript:location='newURL.html'" onMouseOver="callFunction()">
<img src="images/button_07.jpg" width=125 height=45></a>
I get an error message pointing to the first character "h" in href no matter what I try.
Thanks.