Lightbox JS is a nifty unobtrusive script used to to overlay images on the current page. It’s a simple to setup and works on all modern browsers. So simple in fact, all you need to do is add a rel="lightbox"
attribute to the anchor tag that surrounds the img element and the effect is added on page load! Â I am starting to see the script in action around the Internet and it is a very elegant addition to your graphic user interface that will enhance the presentation of images, regardless of the kind of site to which you add it. And anyway I like featuring JavaScript scripts like this on this site because we all most likely have a folder full of them for reference.
2 thoughts on “JavaScript Lightbox”
Comments are closed.
From what I’ve seen it does not work in Internet Explorer 6. Do other people have this problem also?
Scratch that, appears to be working now.