2 replies [Last post]
stlredbird97
stlredbird97's picture
User offline. Last seen 1 year 46 weeks ago. Offline
newbie
Timezone: GMT-5
Joined: 2010-03-10
Posts: 4
Points: 6

I have a gallery and for each thumb I have 2 images. I need to be able to switch that image in a kind of hover/current type of thing except when I click on the thumbnails they don't go to a new page they open up a larger image on that same page.

I know how to swap the thumb when I mouseOver or mouseDown, but how do I make sure that the thumb resets to the default or mouseUp image when I click on another thumbnail?

Thanks

Deuce
Deuce's picture
User offline. Last seen 1 day 16 hours ago. Offline
rank Guru
Guru
Timezone: GMT-6
Joined: 2005-11-20
Posts: 4416
Points: 1835

You'll want to investigate

You'll want to investigate "CSS Sprites" and "Lightbox".
Without you providing more information that's about all the information we can provide.

all ยป http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

gary.turner
gary.turner's picture
User offline. Last seen 1 hour 22 min ago. Offline
rank Moderator
Moderator
Timezone: GMT-6
Joined: 2004-06-25
Posts: 7690
Points: 1506

You left a lot of room for

You left a lot of room for guessing at what you really want, so I'll add my Swapping images with javascript demo to the mix.

cheers,

gary

Unplanned code results in a tangled wad of brain-cramping confusion.

There are enough html & css demos and tutorials to be interesting. Please visit.