views:

24

answers:

1

So I have an image gallery that uses thickbox. When I first load the page and click an image, it loads fine into the thickbox. However, after performing an ajax sort of the images and echoing back identical thickbox urls, clicking on one of the images displays the content in a new browser window rather than a thick box.

Any thoughts?

Thanks in advance

+1  A: 

I found the answer:

Had to had tb_init('a.thickbox, area.thickbox, input.thickbox'); in my ajax callback

http://stackoverflow.com/questions/1249130/php-returns-thickbox-link-that-doesnt-work

ThinkingInBits