display one .gif then mouseover to see another .gif how?

Discussion in 'Graphics & Multimedia' started by vitis, Aug 9, 2007.

  1. #1
    Can anyone tell me how to display one .gif image on a webpage and then display another .gif when someone mouses over or better yet clicks on the first image?

    I sure would appreciate help figuring this one out.
    Thank,
    Michel White
    Grape Grower Solutions
     
    vitis, Aug 9, 2007 IP
  2. vitis

    vitis Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Thanks is what I meant!
     
    vitis, Aug 9, 2007 IP
  3. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #3
    <img src="foo.gif" onmouseover="this.src='bar.gif'" onmouseout="this.src='foo.gif'" />
    Code (markup):
    also, this would be better served in the web development forums.
     
    ansi, Aug 9, 2007 IP