Optional selector to support dynamic content. Use as $(document).lightbox({selector: 'a.lightbox'});