Book Image

jQuery for Designers Beginner's Guide Second Edition

By : Natalie Maclees
Book Image

jQuery for Designers Beginner's Guide Second Edition

By: Natalie Maclees

Overview of this book

Table of Contents (21 chapters)
jQuery for Designers Beginner's Guide Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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