Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Situation: You're on a web page with a small image displayed, and when you click on the image, the current browser window contents are "grayed out", and a window animates itself onto the screen to show the image in its actual size. The window has a Close button on it.

I assume it's done in javascript, and that it's a child window of some sort, but I don't know how to search for it in google because I'm not sure what the technique is called.
Posted
Comments
Albin Abel 21-Apr-11 10:01am    
Additional to my answer for your query "child window of some sort"...It is not a child window but a DIV element with absolute positioned. The javascript is behind to show, hide or load the bigger image using ajax.

Hi John,

My designer call it as lightbox. You can use search keyword "javascript lightbox" or "JQuery Lightbox". I assume you are looking for something like this http://www.huddletogether.com/projects/lightbox2/[^]

good luck
 
Share this answer
 
Comments
#realJSOP 21-Apr-11 9:58am    
That's what I'm after. Thanks.
Albin Abel 21-Apr-11 10:02am    
You are welcome John
 
Share this answer
 
Comments
#realJSOP 21-Apr-11 11:53am    
Question has already been answered, but thanks anyway.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900