Week 10:

Lightbox



Lightbox is a JavaScript library that was built off of jQuery and thus requires jQuery to be included in order for it to work. It allows you to very easily display photos in an elegant and animated fashion without writing a lot of code. Lightbox will automatically load and properly size larger images to be displayed on your page. You can create groups of images as galleries, allowing you to click to the next or previous image, as well as include captions. Lightbox comes with standard CSS styles and images, but all of that can be modified and customized to fit the design of your page.


Follow the instructions on the official Lightbox distribution page to see how this can be implemented.

Resources