Open sonill opened 10 years ago
yeah, plugin is a pain, better to write your own
I know this is old, but I was facing the same issue and easily solved it by replacing line 149 to :
$content.html(contentHtml);
$content.find('a[href*=".jpg"], a[href*="jpeg"], a[href*=".png"], a[href*=".gif"]').addClass('no-ajaxy fancybox').fancybox();
$content.ajaxify().css('opacity',100).show();
So that all links pointing to an image will be "un-ajaxified" and "fancyboxied". Hope that helps someone in the future.
I have a ".no-ajaxy" on dynamically created content but ajaxify-html5 does not seem to respect that. Is there any workaround?
above function is executed after every ajax requests. I can verify that above class has been added into the element by looking in firebug. But ajaxify-html5 seems to load that content with ajax too. How can i make sure '.no-ajaxy' class does work like expected.