View Full Version : image thumbnail view II ALMOST THERE!

04-23-2006, 09:21 PM
i've almost got it; onclick on the thumbnail is bringing the "before" photo but the thumbnail picture is not changing -- and then onclick the second time, i want it to return to the "after" photo --

in other words, i want the thumbnail to change, along with the enlarged version and onclick to just go back and forth.

what else do i need to add?



p.s. there are links to other pictures that haven't been added yet.

04-23-2006, 11:57 PM
Not really sure, but do you want the onMouseover value for the thumbnail to still make the bigger version revert back to normal? Might want to take that out.

Also, I don't get the point of this. You just have two of the same image on screen, at different sizes.

Why not just do a simple rollover image, and change, in that code, "onMouseover" to "onClick", and you're done.

Totally your choice, but just seems a heck of a lot easier.

Anyway, give it a bit and I'm sure someone will answer your question.

I think the short answer is that you need to add a function for the little image being a rollover. Then, use:

04-24-2006, 02:03 AM

thanks, i'll give that a try.