views:

110

answers:

3

hi,

is there any callback function for lightbox2 in Drupal ?

I need to trigger some functions when the lightbox content is ready

thanks

A: 

Are you using the Lightbox2 module?

http://drupal.org/project/lightbox2

It has a myriad of options to use. It also adds itself as a Views field option when displaying an image.

Kevin
yeah I agree it has a lot of functions. Probably that's why I cannot find how to trigger a callback function when the content of the lightbox is loaded... I'm inspecting the code..
Patrick
A: 

Like this?

http://www.erikhedin.com/web-design/drupal-tips/Easy-Ajax-Nodes-Lightbox-Content

lazysoundsystem
I've solved differently, adding the code directly in the loaded page. Yeah, this was what I needed.
Patrick

related questions