krewenki/jquery-lightbox — pull request #32 by GolezTrol (2014-09-28 09:32:12+00:00)
Title: Optional selector to support dynamic content.

With this change, you can use the lightbox with dynamic content, without having to re-initialize it when the content is added.
Call is similar to `on` event, only the selector is passed in the option object argument.

Use as

$(document).lightbox({selector: 'a.lightbox'});

The normal syntax will also still work.