Open Fancybox dynamically
-
Hi there,
I have the following problem:
I use the Plugin Mapplic for showing a map on my front page. Inside this map Popup windows appear when clicking on a polygon in the map. Inside these Popup windows are links. When clicking on these links I want that Easy Fancybox displays the content, so that I don’t need to redirect to a new page on my website. This is my website. At the end I want that it works similar to the “order” links on this page.
I asked the developer of Mapplic and he said the following:
Fancybox only works by default with static content. (The click event is bound to the actual DOM). Every time a tooltip is shown, the content of a tooltip is added dynamically so the fancybox will not work. So the only solution is editing the fancybox plugin to make the click event live.
I am not the best in programming and I don’t know what I exactly need to do. Perhaps somebody can help me here.
- The topic ‘Open Fancybox dynamically’ is closed to new replies.