SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Addict
    Join Date
    Apr 2004
    Location
    canada
    Posts
    274
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Swap Image on Mouseover

    I can't take it anymore, I have looked everywhere fopr a good, functioning example of how to:

    1. main image in cell
    2. a rollOver button in another cell
    3. rollOver button swaps out main image to image2
    4. button onmouseOut swaps back to main image
    5. 6 buttons in all swaping 6 diffferent images

    Does anyone have any links for this concept. I have found one but it just does not work, perhaps because teh buttons themselves have rollOvers.

    Thanks for any help!!

  2. #2
    American't awestmoreland's Avatar
    Join Date
    Sep 2002
    Location
    Grand Rapids, MI
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is this the kind of thing that you're looking for? DEMO


    Andy
    From the English nation to a US location.

  3. #3
    SitePoint Addict
    Join Date
    Apr 2004
    Location
    canada
    Posts
    274
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes, but can you have the buttons have a mouseOver state as well? thx

  4. #4
    American't awestmoreland's Avatar
    Join Date
    Sep 2002
    Location
    Grand Rapids, MI
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, but I took from your original comments that you had something that did this already and it wasn't what you wanted.

    Give me a minute...
    From the English nation to a US location.

  5. #5
    American't awestmoreland's Avatar
    Join Date
    Sep 2002
    Location
    Grand Rapids, MI
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, try now. Link as before.
    From the English nation to a US location.

  6. #6
    SitePoint Addict
    Join Date
    Apr 2004
    Location
    canada
    Posts
    274
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    awestmoreland, this is great so far, however I'm interested in adapting the mainImage swap to be a picture of my choosing rather than a larger image of the thumbnail, for instance:

    1. mainImage = Hotel1
    2. button = btn1
    3. onMouseOver btn1 = btn1_2
    4. mainImage = Hotel2
    5. onMouseOut btn1_2 = btn1
    6. mainImage = Hotel1

    Does this make sense?


Bookmarks

Posting Permissions

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