Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2003
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    please help me fix my mouseOver images

    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:
    thanks,
    lil confuzed
    Attached Files Attached Files

  • #2
    New Coder
    Join Date
    Sep 2002
    Location
    Moncton, N.B., Canada
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    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,
    Terry

  • #3
    New to the CF scene
    Join Date
    Jun 2003
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    -muah


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •