Solved

Image Hover popup

Posted on 2006-11-24
5
889 Views
Last Modified: 2010-08-05
Hello guys,

I have a web gallery that I want to display before and after pictures, I want a user to be able to hover over the image and have a nice popup box that displays the image larger with a link inside of that box that says click here for the after pic. I have done google searches to no avail. Does anybody know how I can do this?

Thanks,

Joe
0
Comment
Question by:Joe
  • 3
5 Comments
 
LVL 28

Accepted Solution

by:
Pravin Asar earned 500 total points
ID: 18008939
<img src="img1.gif"width="100" onmouseover="this.width=4.* this.width;" onmouseout="this.width=100;">
0
 
LVL 16

Author Comment

by:Joe
ID: 18009041
pravinasar,

Thank you for the fast reply. When I put this code in it stretched the image out along with the table outside of the design. Do you know of a popup window that does this?

Thanks,

Joe
0
 
LVL 16

Author Comment

by:Joe
ID: 18009900
Here is what I am trying to accompplish, but on the hover I want to bring up the other picture "After Picture" of the before and after.

http://www.houseofbrides.com/product.php?productid=14211&cat=454&page=1

Thanks,

Joe
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 18011354
Interesting.  How do you propose to display a link in the zoom box that the user can access?
The mouseOut removes the zoom box.

Why IE only?  I had to review the code to find the browser test before I realized that the affect was IE specific.
If you are going to restrict it to IE, you had better make the text above the image IE specific as well.

Better yet would be to make it work on all (ok most) browsers... :-)

Now, about your question.  How compressed are (or should) the main images be?
How do you expect to zoom, if the primary image is full size?
0
 
LVL 16

Author Comment

by:Joe
ID: 18014482
Interesting, do you know of any solution for IE and Firefox? The before picture will be full size just like in that link, now when a user hovers over that full size picture another picture should popup, full size of the after picture to the right. Is this possible to make for both browsers?

Thanks,

Joe
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question