Advanced Search Usage Terms Submit Contact
Dynamic Drive CSS Library
 
CSS Library
Submit an original CSS code
CSS Layouts
Web Graphics
Online Tools:

Advertise Here

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:

The HTML:

Code Info

Rate this code:

Date Posted: 05/07/2006

Revision History: None

Usage Terms: Click here

Your Comments (439)

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 36 of 44 pages « First  <  34 35 36 37 38 >  Last »

finally i found what i was looking for :)
too bad this isn't working in IE :(
check out my site to see how i implemented this into smileys site :D i'ts very helpfull script/css/whatever ;)
Posted by smileys on 05/24, 07:13 AM
<marquee>It worked!<marquee>
Posted by happpy person on 05/30, 11:38 PM
I have the map of the world, and I want to show a different popup images for some of the countries. How can I use this script with hotspots for the world map?

Any help is greatly appreciated, thank you.
Posted by Laura on 06/02, 09:09 AM
Great code! Thanks.

My only problem seems to be with IE6, my three links (which have the image popup on mouseover), move all around the page. Works fine in IE7 and Mozilla, though.

Any ideas?
Posted by Kevin on 06/03, 08:37 AM
good work really ..
Internet technology
Posted by rosezar on 06/04, 04:47 AM
I am not a coder - I use dreamweaver - so how do I insert this and make this work? Very elementary here!
Posted by Sarah Haeder on 06/04, 06:37 PM
hi,
how can i integrate this image viewer to OSCommerce, is it possible to do for product images?
thanks
Posted by ergin on 06/07, 09:29 AM
I really like this code. And i was wondering if there is a away to get it for just text. For example this site has a popup login on the top right http://osx86leo4all.wikidot.com/

can someone help get this for my site but with just text.
Posted by Pedro Ramirez on 06/07, 03:20 PM
Hi, works fine, but i have one problem:

we want insert images wiht Links in the popup, but if i click on an image, popup will close!

How can i do it?
popup should not be closed when i click on image or link.


Mario
Posted by Mario on 06/08, 04:47 AM
Searching for a way to show my image from a text and i found this ^^
thanks
Posted by innocentwhite on 06/09, 10:58 PM

Comment Pages 36 of 44 pages « First  <  34 35 36 37 38 >  Last »

Name: (Required)

Email: (Required)

(NOT shown on page)

URL:

(Shown on page if entered)

Comments: (Required)

Supported BB codes: [b], [i], [u], [em], [strike], [strong], [pre], [code], and [blockquote].

Remember my personal information
Notify me of follow-up comments?

Submit the word you see below ("previewing" post does not require it):


Copyright 2006-2008 Dynamic Drive Read our Usage Terms before using any of the CSS codes.
Dynamic Drive DHTML and CSS Code Library