Support » Plugin: ARI Fancy Lightbox - WordPress Popup » Next post in the same iFrame

  • Resolved quidger

    (@quidger)


    Hello,

    At the moment I display posts in modal window. Is there a way that upon clicking ‘next post’, the new post would appear in the same modal window, rather than in a new, smaller one?

    Cheers.

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

    (@arisoft)

    Hello

    Is it possible to see anywhere how it works now?

    Thread Starter quidger

    (@quidger)

    @arisoft
    Sure, go to https://pomaslov.com/ and click on ‘Aeroflot’. On the bottom of modal box there would be arrows, click on them.

    Plugin Author arisoft

    (@arisoft)

    Do the following if you want to open links with target=”_blank” attribute into the lightbox, but ignore links with target=”_blank” attribute on pages which are loaded into the lightbox:

    1. Open “Integration” tab on “ARI Fancy Lightbox -> Settings” page and disable “Open links with target=’_blank’ attribute -> Convert links” parameter.

    2. Open “Advanced” tab and populate “Custom JS code” with the following code:

    if (window === window.top) $('A[target=_blank]').addClass('ari-fancybox').attr('data-type', 'iframe');

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Next post in the same iFrame’ is closed to new replies.