16 July 2008 06:00
PrettyPhoto - a jQuery Lightbox clone
by camel & 3 others, 1 commentPrettyPhoto - a jQuery Lightbox clone
July 13th, 2008 in Javascript | Tags: Gallery, jQuery | No Responses
A new version 2.1 of prettyPhoto released. Descriptions/Titles now support html code.
Usage is simple, just include the jQuery library, prettyPhoto javascript and the prettyPhoto CSS file and add rel=”prettyPhoto” to any picture you want to activate the prettyPhoto feature.
If you want the images to be a part of a gallery, just add the gallery name in braket.
Tested and working in Firefox 2-3 (Mac/PC), Safari 3.1.1 (Mac), IE 6-7. Uncompressed version - script: 16kb / CSS: 8kb, compressed size - script: 8kb / CSS: 3.8kb.
1
(1 marks)