…as an add-on. All I really need to know is what code triggers a fancybox refresh?
It usually works without any problem, try clearing your cache or reinstalling plugin after deletion from cpanel
Thanks for the suggestion, but it’s a no-go. Cleared cache and cookies and removed plug-in…still getting same results. On a page refresh the 1st page works great. Once I load page 2 using FacetWP, Easy FancyBox no longer works.
OK, I got FacetWP and Easy FancyBox working using the following. But now FancyBox loads very slow and messes up the header part of the page
$("a.fancybox-iframe").fancybox();
Easy FancyBox works great on the 1st page and stops working when you move to page 2 or apply a query to the page results.
FancyBox only runs it’s binding routine on two events: page load (document ready) and on an event called “post-load”. New content that gets loaded via AJAX is invisible to fancybox unless a “post-load” event is triggered. Jetpack’s Infinite Scroll does this for example.
Does FacetWP trigger an event after new content has been loaded? If so, what is it called? If not, could a trigger like that be added?