Posts tagged ‘Web 2.0’
After you’ve added these references and moved the images and js files to your project’s directory, you’re ready to begin creating pop-ups! Setup your html in the following example. Notice how in this example, we are displaying a thumbnail while the pop-up references the full-size image.
Next, you’ll need to execute the method for making an image item into a pop-up. Through a jQuery selector, navigate the DOM and find the objects that you wish to add the lightbox pop-up onto. Then you can simply call the .lightbox(); function!
That wraps up the Web 2.0 Lightbox quick setup and hopefully you’ll find a unique way to use this plug-in!