activate lightbox on dynamically added content
I'm developing a little portfolio where I can choose a category and when I click it, the content (thumbnails) of that category will be shown (this is via an array). e.g. photography[0] = <a href="..." rel="lightbox" /><img ... /></a> photography[1] = <a href="..." rel="lightbox" /><img ... /></a> At first the site shows the content of all categories and when I click a thumbnail it activates lightbox, however if I choose a category and then press one of the remaining thumbnails is simply leads to the image and does not open the image with lightbox. This is how the thumbnails look like on the