Using JQuery Lightbox within AJAX loaded content
- by James
Hey. So this is probably a very noob problem but I'm not good enough to fix it. Basically... I have a gallery that I am loading into the page via AJAX. It looks simply like this:
<div id="gallery">
<a href="Image1.jpg"><img src="Image1Thumb.jpg" /></a>
<a href="Image2.jpg" title=""><img src="Image2Thumb.jpg" /></a>
</div>
But because it's being loaded in as AJAX content, JQuery/Lightbox is not working and I've no idea how can I get the script to run/recognise this newly loaded content.
Thanks!
[Note: The JQuery Lightbox I am using.]