Click to See Complete Forum and Search --> : Mouseover text, change image


mjackson
07-09-2003, 02:03 PM
I am very familiar with using the onMouseover event to change an image and link to another page. I want to create a page that uses the onMouseover event just to change an image, not link to anything else. I have tried just using <a onmouseover...> or <a href="" onMouseover...> but my cursor doesn't seem to work right in IE when I do this. Any suggestions?

An example of the page I'm working on is at http://www.artesianspringsresort.com/cabin01.htm


Thanks,
Mel

David Harrison
07-09-2003, 03:14 PM
Try using href="#" when the link is clicked nothing happens, or if you want the js solution use onclick="return false;". Of course there's nothing from stopping you using both.

mjackson
07-09-2003, 03:26 PM
Thank you for your help. As I was searching for answers to my question, I came across a site that used a href="javascript: void(0)" and that seems to work okay. I appreciate your help, though.


Thanks,
Mel