CSS Library: Image CSS: Here
CSS Image Gallery
Author: Dynamic Drive
This is a purely CSS based image gallery that displays larger versions of thumbnail images dynamically when the mouse hovers over them. A rich HTML caption can be added to the enlarged image, and every aspect of the Image Gallery exists as plain HTML on the page. The idea is to use CSS's ":hover" pseudo class to cause an element to react onMouseover. When that happens, an absolutely positioned container holding the enlarged image, anchored on the page by another container with position set to relative, is shown. Furthermore, it's possible to modify the behavior so the enlarged images are only shown onClick, though IE6 currently doesn't support this behavior well. The gallery works in IE6+, Firefox, Opera 8+.
Demo:

Simply beautiful.

So real, it's unreal. Or is it?

Sushi for dinner anyone?

Run wild with horses.
Dynamic Drive

Dynamic Drive
Zoka Coffee

Zoka Coffee
Note: Here the enlarged images are set to "overlay" any content that it may come in contact with. You can easily disable overlaying just by giving the gallery container (.gallerycontainer) a height set to that of the largest image's.
The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 30 of 32 pages « First < 28 29 30 31 32 >
Do you know how you can add the functionality of a click change instead of a hover change? Or do I need to add JS for that?
http://www.topekametal.com/equipment.html
1. Can the enlarged image be set to float at a fixed screen position as the page is scrolled by the user to get to more thumbs?
2. Is there a way to list my thumbs vertically but with smaller space between them [vertically]? The creates too much verical space.
Your code works fine, you have saved alot of my work
I though of plugging a gallery using flash for which i needed to do alot of home work.
Surely you saved alot of time , Thanks for sharing this fine peice of code.
Thanks Dude :)









I managed to change the hover into a click by adding this to the CSS code:
.thumbnail:active img{
border:1px white;
}
.thumbnail:active span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 230px; top:0px; /*position where enlarged image should offset horizontally */
z-index: 50;
white-space: nowrap;
}
I removed the 'hover' tags as both creates an overlay of images.
Thank you to someone here on page or so of the comments for the tip of 'whitespace:nowrap' as that worked for me too.