• Resolved Oleg Komarovskyi

    (@komarovski)


    Under each product it the loop I have popup button.

    Example:

    LOOP START
    <a class="ari-fancybox" href="#DiscountProductLoop">Ask for Discount</a>
    LOOP END

    BLOCK AFTER LOOP
    <div class="fancybox-hide" id="DiscountProductLoop">CONTACT FORM SHORTCODE</div>
    BLOCK AFTER LOOP

    The popup works fine when page loads, but when I start to navigate between pages with ajax pagination – popup not working on items in loop.

    Can you please help me to fix this issue?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author arisoft

    (@arisoft)

    Hello

    It needs to re-init lightbox after updating a page via AJAX. Call the following code:

    ARI_FANCYBOX_INSTANCE.convertElements();

    or you can use PRO version, it can handle dynamic items with “ari-fancybox” class.

    Thread Starter Oleg Komarovskyi

    (@komarovski)

    Cool, everything works, thank you very much for support & for your amazing plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Popup not working after ajax response’ is closed to new replies.