Where to insert callback function for jQuery Lightbox within NextGen
-
NextGen v. 2.0.66.29
Hello. I am using the ‘AddThis‘ social sharing buttons on my website and am trying to implement them alongside gallery images when they are viewed in the jQuery lightbox.
The problem is the icons are rendered on page load so I need to run the addthis.layers.refresh(); event inside a callback function in order to rerender the buttons in the lightbox. I have tried setting it up in the jquery.lightbox-0.5.min.js & nextgen_lightbox_init.js and the best I have found was putting inside the _show_image function which got it working on Chrome but not Firefox or Safari.
I could not find any documentation to see if there was another place specifically designed to hold these sorts of callback events…
Sorry if I am missing something obvious. I am fairly new to jquery. The website I am referring too is getfloraphoto.com.
Thank you!
- The topic ‘Where to insert callback function for jQuery Lightbox within NextGen’ is closed to new replies.