Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3901
    marv sers
    Participant

    Hello, i’d like to display my posts (single page) with the nivo lightbox. That works well for the posts loaded with the page load. If i load more posts with ajax, the lightbox does not work anymore..

    How can I fix this? I have tried to call $(‘a’).nivoLightbox(); again, but it didn’t change anything.
    I have also tried to add data-lightbox-type=”ajax” to the link but it didn’t change anything either.

    How can i get this to work with ajax loaded content? I have tried so many things and wasted so many hours on this :D HELP
    Thank you!

    #3916
    marv sers
    Participant

    PLEASE anyone?

    #3917
    Bartosz
    Keymaster

    Did you try enabling custom events in plugin settings? It’s default event is set to AjaxComplete so it should initialise the lightbox on any Ajax loaded element.

    #3923
    marv sers
    Participant

    Where can I change/see that? :)

    #3924
    Bartosz
    Keymaster

    In plugin settings.

    #3929
    marv sers
    Participant

    you genius! So easy!! thank you sooooo much!

    #3931
    Bartosz
    Keymaster

    :)

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.