View Full Version : please help me fix my mouseOver images

06-13-2003, 03:16 AM
sorry, i don't know much about anything. please help.
my mouseOver effect works and the link is fine, but i can't seem to make the effect work over the correct corresponding images. if i mouseOver the first image, the effect works on the third image and same with the second image, the effect is over the third image.
attatched is my code, can someone tell me what i'm doing wrong.
this is in the head section:
lil confuzed

06-13-2003, 03:36 AM

You have to give each image it's own unique name identifier otherwise you get conflicts in the script. Do something like this:

<a href="www.hellsflower.com" onMouseOver="ShowPicture('project1','images/oneUp.jpg')" onMouseOut="ShowPicture('project1','images/one.jpg')" onClick="return"><img src="images/one.jpg" width="108" height="142" Border=0 NAME="project1">

<a href="www.hellsflower.com" onMouseOver="ShowPicture('project2','images/twoUp.jpg')" onMouseOut="ShowPicture('project2','images/two.jpg')" onClick="return"><img src="images/two.jpg" width="108" height="142" Border=0 NAME="project2">

and so on..

Hope this helps,

06-13-2003, 03:55 AM
thanks it really helps. :) i was typing in different names for each one and it wasn't working and having the same name was semi-working. thanks, i didn't think of that one.

-lil confuzed;)