jQuery - Shadowbox rebinding

Posted by teepusink on Stack Overflow See other posts from Stack Overflow or by teepusink
Published on 2010-03-25T19:31:37Z Indexed on 2010/03/25 19:33 UTC
Read the original article Hit count: 419

Filed under:
|

Hi,

How do I bind / initialize Shadowbox to content loaded by jQuery using AJAX?
Right now shadowbox works when I first come into the site.

However, when I swap the content with a new one loaded through AJAX, these new batch of content doesn't do the shadowbox popup, instead it just redirect to the content.

I have Shadowbox.init(shadowbox_conf); in the success but it doesn't seem to do the trick.

Thanks,
Tee

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about shadowbox