Support » Plugin: Easy FancyBox » click on image will open modal… and disappears directly

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

    (@ravanh)

    Hi Hans, it’s hard to debug this one… Have you tried switching off all other plugins? Or switching to the default theme for a second?

    • Tried switching off all other plugins -> no succes
    • Tried switching to another theme -> succes
    • Conclusion…. Some js in my theme is failing

    At the bottom of my theme I added some js to track the behaviour of my visitors.
    I want to track the events in Google Analytics on what kind of links they click. Is it a download file, is it an external link, is it an internal link or is it… whatever.

    when I remove this script from the page the easy-fancybox works like a charm.. therefor my conclusion is that something in this script is causing the problem.

    the script will be triggered if the href attribute of a anchor doesn’t match javascript.
    it also has to trigger if it’s a lightbox effect… if class=fancybox, the script shouldn’t be triggered otherwise it fails.
    I’ve succeeded to change it…. now it works. (view source of the given site)

    thank you for the reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘click on image will open modal… and disappears directly’ is closed to new replies.