FancyBoxPro and WP Google Maps PRO

Your Account / Forums / Easy FancyBox Pro / FancyBoxPro and WP Google Maps PRO

  • Author
    Posts
    • June 28, 2017 at 4:05 pm #8417

      Hi, I am writing why there is a small problem and I would like to know if I can solve it 🙂

      Using WP Google Maps Pro I have my beautiful maps, I can link the image to the markers information.

      FancyBox works perfectly in all my pages, but on Google Map plugin, if I add photos or pdf, when i click on, fancyboxpro doesn’t works but open image or pdf on a new browser board 🙁

      Some idea?

    • June 28, 2017 at 4:05 pm #8422

      Hi, that will be difficult because it sounds like the maps are created by JavaScript after the document ready event. Fancybox scans for media links right at the document ready event so this means it is not aware of the new content and cannot bind itself to the new media links…

      Do you know if the Google maps plugin triggers some event after it has built a map on the page? If so, there might be a way to use that event to make Fancybox scan for media links a second time.

  • You must be logged in to reply to this topic.