开发者

Thickbox jQuery Issue: Works fine until after AJAX sort

开发者 https://www.devze.com 2023-01-14 11:07 出处:网络
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 开发者_如何学Pythonperforming an ajax sort of the images and

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 开发者_如何学Pythonperforming 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


I found the answer:

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

Php returns thickbox link that doesn't work

0

精彩评论

暂无评论...
验证码 换一张
取 消