Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Making a custom lightbox

I have a problem that I need addressed. I need a lightbox(maybe modal window) that when I click a employees picture it pops open a lightbox that has a image on the left and a description of the employee or html content on the right such as an anchor tag for the persons email. Is this possible one, and two it there a JQuery plugin for this? I have looked around and not found exactly this. Can someone help me out?

Hi Justin,

Would you say that this extra employee content that you want to appear in the lightbox is too much content to be storing on the same page?

Are there a lot of employee pictures with a lot of extra information for each one?

No basically this information is a small amount of info. It basically gives teh email and a short description that is all, well that and the image

Ok, so you can probably put all the information on the same page then and not have to retrieve it with ajax calls.

Where are you at with it right now? Did you find anything to use yet?

I have started using fancybox. I think this is my best bet. I finally figured out how to implement it the way I wanted.