Lightbox Notes
To add Lightbox functionality to any single image:
- Add
rel="lightbox"to the anchor tag. - Add a
title=""attribute to the anchor tag. - Add an
alt=""attribute to the image tag.
To add Lightbox functionality to any series of images:
- Add
rel="lightbox[value]"to the anchor tag of each image. - Add a
title=""attribute to the anchor tag of each image. - Add an
alt=""attribute to the image tag of each image. - Any set of pictures with the same
rel="lightbox[value]"will display with nav buttons.
Related articles
- Electric Sheep and the ASCII Matrix
- WordPress Notes Plus
- JavaScript Notes Plus
- Summon Notes Plus
- Secret Search Codes
- sIFR Notes Plus
- Greenwich Mean Time (GMT) Formats
About this article
This is article #114, posted by Perishable on Sunday, April 02, 2006 @ 02:14pm. Categorized as Websites, and tagged with apps, code, images, lightbox, notes, slideshow. Updated on November 03, 2007. Visited 9214 times. 2 Responses »
Bookmark • Subscribe • Explore
« Nine Feet • Up • PayPal Sucks »
1 • April 16, 2007 at 12:05 pm — Grace says:
What causes dotted/dashed lines to show across the images while being displaying in lightbox once next or previous is selected?
Is there a fix for this?