DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Lightbox JS (overlay Full-size-images On The Current Page)

01.16.2006
| 7473 views |
  • submit to reddit
        // Lightbox JS is a simple, unobtrusive script used to to overlay images on the current page. It's a snap to setup and works on all modern browsers.

// http://www.huddletogether.com/projects/lightbox/

// easy to use: 
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>


// the whole thing edited for Flickr: http://www.lovefool.nl/2006/01/07/lightbox-fotos/