• I am using your lovely plugin to load external pages (iframes) in a lightbox. It all works great, except when I have a page that takes a while to load, and I click one of my class="fancybox-iframe" links before the page finishes loading. In those cases (sometimes), the external page simply loads into the full window, not the lightbox.

    Example: the “take action now” and “login” links at the top of this page should both load into an iframe.

    I suspect this has something to do with *where* on the page the fancybox code is called, but I’m not enough of a geek to diagnose or tinker by myself.

    Help?

    https://www.ads-software.com/extend/plugins/easy-fancybox/

Viewing 1 replies (of 1 total)
  • There is not much that can be done about that. At least not without creating other problems…

    Easy FancyBox is programmed to fire FancyBox only when the full page has loaded (on jQuery(document).ready(...) in jQuery language) to prevent it from trying to attach the script to parts of the dom tree that are not available yet.

    Allowing the script to fire earlier will result in it not working at all for a lot of cases ??

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Easy FancyBox] iframe links fail before page load complete’ is closed to new replies.