Chapter 5. Showing Content in Lightboxes
It's become common to see galleries of photos displayed in lightboxes on the Web. Lightboxes can be useful for other things too—playing videos, showing additional information, displaying important information to site visitors, or even showing other websites. In this chapter, we'll see how to use the flexible and adaptable Colorbox plugin to create lightboxes for a variety of purposes.
An example of an image shown in a lightbox is depicted in the following screenshot:
In this chapter, we'll take a look at how to use the Colorbox plugin to do the following:
- Create a simple photo gallery
- Customize photo gallery settings
- Build a fancy login box
- Play a collection of videos
- Create a one-page website portfolio