#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2001
    Posts
    10
    Rep Power
    0

    Unhappy


    Hello Everyone!
    I have been able to find rollover examples where you substitue one image for another (where the images are in the same place on the screen). What I want to do is hover over a certain image and then replace a different image, without affecting the first image. So there will be a total of three images involved. The initial image that will be hovered over, a second image that will change, and the third image that will replace the second one.

    Can this be done? I am desperate....

    Marcie
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2001
    Location
    UK
    Posts
    527
    Rep Power
    14
    I think this is what you want:

    <A HREF="javascript:void(0);"
    onmouseover="image2.src='image3.gif';"
    onmouseout="image2.src='image2.gif';">
    <IMG SRC="image1.gif" name=me border=0 ALIGN=CENTER>
    </A>

    <IMG SRC="image2.gif" name="image2">


    John
  4. #3
  5. No Profile Picture
    Senior Citizen
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2001
    Location
    leftcoast
    Posts
    2,019
    Rep Power
    16

IMN logo majestic logo threadwatch logo seochat tools logo