• 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!

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Aurora7483

    (@aurora7483)

    Does anyone have any clue for solving this dilemma?

    Benjamin

    (@benjaminowens)

    I’ve looked through the jquery lightbox code but I don’t see a _show_image function; could you paste your code so far if you’re still having an issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where to insert callback function for jQuery Lightbox within NextGen’ is closed to new replies.