• Resolved gslweb

    (@bloodytom)


    I’m using popup maker on my client’s site to load PDF files (via Google viewer). Basically, when they click an element with a specific ID, the popup opens with the embedded PDF file.

    The issue is that the site is trying to load all the PDF files on the home page and every other page even if the popups aren’t present there. We have close to 200 popups published so you can probably imagine the trouble.

    The site is rendered useless because it hangs after several seconds since it’s trying to load all popups on basically every page.

    Any suggestions on how to force it to load only on pages where the popups are called?

    Thanks in advance.

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

    (@danieliser)

    @bloodytom – You have 2 options, use the conditions editor for each popup to set it to only load on the page/pages its needed on.

    Second delete all 200 popups, make one new one with our remote content extension and then replace your 200 different triggers with one to that single popup and dynamically load content based on either the link of the clicked trigger or some other data if your inclined to write some JS to pass the needed data. This is the more scalable & long term solution. It also means that the contents will be loaded only when the popup is opened, not on initial page load.

    Hope that helps.

    Thread Starter gslweb

    (@bloodytom)

    Thanks, @danieliser. Really appreciate your assistance in this matter. I opted for option 1.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only load popups on pages where they are called’ is closed to new replies.