CSS Library: Image CSS: Here
CSS Popup Image Viewer
Author: Dynamic Drive
Enable arbitrary links or image thumbnails to pop up an enlarged (different) image onMouseover by using this CSS code. With the help of CSS's ":hover" pseudo class, combined with relative and absolute positioning, the enlarged images are simply included on the page as normal HTML, "popping" up on demand. CSS is behaving more and more like scripting!
Demo:
One of my favorite foods is sushi
Doesn't this look good?, and it's good for you too! Coffee and sushi probably don't mix well, but I like some Zoka Coffee
Zoka Coffee to boot! Here are some thumbnails from my trip to La la land:
![]()

Simply beautiful.
![]()

So real, it's unreal. Or is it?
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 13 of 53 pages « First < 11 12 13 14 15 > Last »
By the way, this seems like an awesome program, if I could get it to work :)
it works with HTML
put I try it on WordPress and it's look ugly ..
=( so bad I like it
I did a table with three images and three text links going horizontally and I am getting a wear distortion on the third text as I hover in the other two images and text...
I am having a problem with the viewing of the larger images - in IE the large view hides behind the next row of images though in FF the boxes come forward.
I think it has something to do with the Z-index. Can anyone help me?
Thanks, Caryn
Seems it is not working if i copy and paste the code..
<HEAD>
<!--[if IE]>
<style type="text/css">
.thumbnail:hover span{ /*CSS for enlarged image*/
position:absolute;
</style>
<![endif]-->
<style type="text/css">
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
#galleryimage {
position: relative;
z-index:0;
}
.thumbnail {
display:block;
font-family: Arial, Helvetica, sans-serif;
font-size: 13.5px;
color: #333333;
text-decoration: none;
}
.thumbnail:hover{
position:relative;
}
.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background: #ff8b34;
padding:5px;
left: -1000px;
border: 1px dashed #666666;
display:none;
color: #666666;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 8.5pt;
font-style: normal;
font-weight: normal;
}
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding:2px;
}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
display:block;
top:20px;
z-index: 50;
left: 10px;
}
</style>
</HEAD>
Comment Pages 13 of 53 pages « First < 11 12 13 14 15 > Last »
Commenting is not available in this weblog entry.







Thanks
With regard
Rohinikant Prasad
India