Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5090
    Florian Perininger
    Participant

    Hello,
    i load some of my wordpress pages through an ajax-call. On these pages the lightbox don´t work. Is there a way to call the lightbox programmtically through javascript? Or do you have another solution?

    Thanks and best regards,
    Florian

    #5091
    Bartosz
    Keymaster

    Yes, we have a solution.

    In short: just enable custom events in Responsive Lightbox settings.

    #5092
    Florian Perininger
    Participant

    Hi,
    thanks for the fast answer and the good news.
    i tried what you suggested: i call the ajaxCompleted-Event in my .js-file but unfortunately it doesn´t work …

    #5094
    Bartosz
    Keymaster

    Yeah, but you have an option in the plugin. Did you use that? In your case there should be no additional JS code needed.

    #5111
    Florian Perininger
    Participant
    This reply has been marked as private.
    #5113
    Bartosz
    Keymaster

    It definitely should work. This is a very simple case.

    Pleasy try to switch the rel attribute from lightbox[gallery-hTCW] into lightbox[gallery-1] or lightbox. Maybe it helps (cos I have no other clue).

    #5122
    Florian Perininger
    Participant

    Hi,

    i found the solution. There´s a “loading place” settings option. if you change this to “footer” and enable the the “custom events” option everything works fine.

    Thanks for the help.

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