May 17th, 2010, 03:16 AM
Lightbox: how to parse the lightbox dynamically loaded html content (AJAX)
I'm using a (modal) lightbox on a page of my website to display my nodes.
I'm using some plugins such as an external jquery-plugin for tooltips and the drupal plugin jQuery Media (to load flash video player for some video file-fields).
These plugins are loaded when the main page load and they parse the html content of the page.
When I dynamically load the lightbox (and I use AJAX to update its content) the html inside the lightbox is not parse... so no tooltips, no videos.
how can I solve this ? Should I trigger the plugins again from Lightbox callback function ?
Or should I use something else instead of the lightbox ?
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!