View Full Version : non-linking mouseover


Jibaku
04-26-2004, 04:24 AM
The script on Lissa Explains for image mouseover makes the images a link:

<a href="yoururl.html" onmouseover="over_image('img0');" onmouseout="off_image('img0')"> <img src="image1.gif" border="0" name="img0"> </a>

And when I remove the href the script ceases to work altogether. Isn't there a way to stop the images from linking without disabling the mouseover?

MaGiCSuN
04-26-2004, 12:13 PM
<img onmouseover="over_image('img0');" onmouseout="off_image('img0')" src="image1.gif">

try that :) you basically had the mouseover mouseout part in it, but in the middle of nowhere. It had no function, because you removed the function (a href part).

Love,
Mirna

Jibaku
04-26-2004, 09:05 PM
Ah, that makes sense. Thank you, Mirna. :)