Lightbox: how to parse the lightbox dynamically loaded html content (AJAX)
Posted
by Patrick
on Stack Overflow
See other posts from Stack Overflow
or by Patrick
Published on 2010-05-16T19:32:31Z
Indexed on
2010/05/17
8:20 UTC
Read the original article
Hit count: 362
hi,
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 ?
Thanks
© Stack Overflow or respective owner