Easy FancyBox
Image Opens In New Browser Window (2 posts)

  1. peaces
    Posted 4 years ago #

    OK, after hours of reading other posts and trying to go over the FAQs time and again to see what I am doing incorrectly, I unfortunately fall into the newbie roll of needing some help.

    Theme - Twenty-Eleven
    Link - <img src="http://frontiermeats.com/fancybox/Beef_burgers_nutrition_sm.jpg" alt="Beef Nutrition" class="fancybox" />

    jquery scripting is showing in source code.
    I believe my settings are correct in media.

    Would you be willing to take a look and see if you can tell what I am doing wrong? Thanks in advance.

    (below the description)


  2. RavanH
    Plugin Author

    Posted 4 years ago #

    The problem is between the Fancybox and the Ecwid plugins. The link to the image is inside ajax loaded content. FancyBox gets bound on "document.ready" so that means before the shop content is loaded.

    Unless you know of a trigger that is fired by Ecwid right after the new content is put in place (such as the Grunion contact form plugin does, for example) there is no way to attach FancyBox to links in the new content.

    If you or the devs of Ecwid can tell me of any such trigger, I can take it into the dev version of Easy FancyBox :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic