is this possible with image rollovers?

Discussion in 'OT Technology' started by wilson fisk, Jul 21, 2006.

  1. wilson fisk

    wilson fisk BE EASY!

    Joined:
    Jan 15, 2005
    Messages:
    4,302
    Likes Received:
    0
    Location:
    NY
    here's the situation. i have 1 main pic (ill call it pic A) and 4 smaller thumbnail sized images. When you rollover those small thumbnails, pic A changes to a different image.

    can i do this with javascript or css?
     
  2. piratepenguin

    piratepenguin New Member

    Joined:
    Jun 18, 2006
    Messages:
    1,067
    Likes Received:
    0
    Location:
    Ireland
    you can definitely do it with javascript, using the onmouseover and onmouseout events (IIRC) on the thumbnails.
     
  3. wilson fisk

    wilson fisk BE EASY!

    Joined:
    Jan 15, 2005
    Messages:
    4,302
    Likes Received:
    0
    Location:
    NY
    know of any detailed instructions available anywhere?
     
  4. piratepenguin

    piratepenguin New Member

    Joined:
    Jun 18, 2006
    Messages:
    1,067
    Likes Received:
    0
    Location:
    Ireland
    nope, but it's similar to any rollover, except ur not changing the highlighted image, ur changing the bigger image
     
  5. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    look at the code in OSCommerce or Zen Cart... They do that for multiple product images.

    I do it in my cart, but server-side.
     
  6. Insert Tokens

    Insert Tokens Making Cancer My Bitch OT Supporter

    Joined:
    Jan 12, 2006
    Messages:
    8,330
    Likes Received:
    76
    Location:
    Tasmania

Share This Page