jQuery AJAX Tabs with ThickBox enabled

This is one of the good example on how we can load a ThickBox (Example: ThickBox related image galleries etc.,) in our jQuery AJAX Tabs. Usually, if you try to load a ThickBox directly into jQuery AJAX Tabs, the functionality will not work properly, in order to make this work we have to re-initiate tb_init() function accordingly after the request is success. Just have a glance below on how we going to solve this one.

1 tb_init('a.thickbox, area.thickbox, input.thickbox'); Live Preview / Download: Example: Below is an example on how we can do this in practice. I have few Tab Panels, in one of the Tab Panel there are few images for which I need ThickBox functionality, that is when I click on the respective thumbnail image it should open up a popup with actual image.

From Developer Snippets

Tags: HTML, Programming, Ajax, Javascript, Featured, jQuery, ThickBox

No comments



SetPageWidth