Reply – Documents loaded through ajax, shadowbox not working
Your Name
or Cancel
In Reply To
Documents loaded through ajax, shadowbox not working
— by Zain-3 Zain-3
I'm trying to use shadowbox as a nifty way to display my art.  Shadowbox is definitely nifty. But, on my site, the navigation is built and the seperate pages are loaded into a div using ajax, and on those seperate pages is where i have the shadowbox links and image elements. Now, on the content documents itself shadowbox works and is effective such as seen here:

but upon viewing my index:
and clicking the ART button (nav bar icons upper right), which will load illustrations.html into the content div, shadowbox is not working. each link just loads the picture into the window like a normal link.

i've tried initializing shadowbox in various dom places logically and stuck the js in both the index and the content pages and i dunno

can this work somehow