Reply – Re: Documents loaded through ajax, shadowbox not working
Your Name
Subject
Message
or Cancel
In Reply To
Re: Documents loaded through ajax, shadowbox not working
— by Nick Nick
i'm an idiot - i've answered my own question. The reason it wasn't loading was because i had a setTimeout on the content that was being placed on the page with ajax. I hadn't put a setTimeout on the Shadowbox.Setup().

All i did was make sure that:
 Shadowbox.init({ skipSetup: true }); Shadowbox.setup()

was initiated after the content was placed on the page. Now it works. Lovely.