How to make lightbox/fancybox work from an html page loaded into a div via jquery?

I have a website that was built in css where each page is an external html file which is then pulled into a certain div layer when the link is clicked in navigation. It basically works like frames. (ie- media.html is loaded into a div on index.html) However, one page has an image gallery I tried to load via a lightbox code... it either refuses to work or it will work on the first time the page is clicked but not subsequent times. (Note: the code works fine if I load the actual external html, ie- media.html) Thank you for your time! :)
 
Back
Top