How to fire an event other then scrolling?
sahilpopli opened this issue · comments
Hello I am using filters on my product page. If I apply some filter the products from bottom line will show on top as some products are filtered out. now if i scroll a bit the product images get loaded but can i fire the event on filter callback so the images can load without scroll for visible products.
Hope you understand the problem.
Thanks in advance.
Just create a js script and trigger it when you wish:
function refresh_qazy()
{
clearInterval(qazy.intervalObject);
qazy.qazy_list_maker();
qazy.reveal();
}
jQuery('body').on('click', '.nav-tabs a', function(){
refresh_qazy();
});