English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
0

I want to create a gallery on my website.
I have a thumbnail maker for images.

Now the question --
I want the thumbnail of the image to expand when the mouse hovers over it and have no idea what kind of code I would need to do this. I only want the thumbnail to increase a small amount (not to the full size of the image.)

Any help would be appreciated

2006-12-16 06:37:46 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

5 answers

In the tag use the following:


Hope it helps ;)

2006-12-16 06:44:09 · answer #1 · answered by Anonymous · 0 0

I found a couple examples that might help.
First check out http://sonspring.com/journal/hoverbox-image-gallery. There is a link that goes to http://host.sonspring.com/hoverbox/ which does exactly what you want, I believe. On the first link you can download the code.

Another example was not quite as nice as the above one, but does work is at http://4-ever.org/expanding-images .

Good luck.

2006-12-16 14:45:32 · answer #2 · answered by SharpGuy 6 · 0 0

rollover image will do this for you
requires 2 sized thumbs though.
one small.... one slightly larger

zoom on a thumb is not yet supported in HTML

2006-12-16 14:40:22 · answer #3 · answered by paki023465 2 · 0 0

Although you don't want it to become full-sized (sorry), I must recommend LightBox JS v2.0, by Lokesh Dhakar.

http://www.huddletogether.com/projects/lightbox2/

2006-12-16 14:43:26 · answer #4 · answered by trencherman92 3 · 0 0

You can't do this by only using HTML. Your best bet is probably to do this in JavaScript.

2006-12-16 14:41:19 · answer #5 · answered by MarnenLK 6 · 0 0

fedest.com, questions and answers