my little homepage

myLightbox

As if there were not already enough of these lightbox scripts! However, for my taste most of these scripts are a little bit too overloaded and do not work as expected regarding the back and forward buttons of the browser. That's why I wrote another one based on jQuery and the Hashchange Plugin.
The script adds the lightbox function to all links with the rel="lightbox"; alt and title attributes of the thumbnails are used as the image caption and description.

Demo

Lago Atitlan Marrakech Lake Superior Sunrise

Download

mylightbox.zip

Note: jQuery must be downloaded separately or included by googleapis.com (see page source).

Comments

1. Hason, Tuesday, April 05, 2011, 15:40:

nice script, i like

2. paulo, Wednesday, April 06, 2011, 01:28:

Yes Mate!!
This really works!!




(optional, e-mail address only visible by admins)