Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fire an event other then scrolling? #9

Open
sahilpopli opened this issue Oct 20, 2015 · 1 comment
Open

How to fire an event other then scrolling? #9

sahilpopli opened this issue Oct 20, 2015 · 1 comment

Comments

@sahilpopli
Copy link

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.

@razvypp
Copy link

razvypp commented Dec 22, 2016

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();

  });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants