We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
scrollyeah is not working for some reason until i resize the browser window?
The text was updated successfully, but these errors were encountered:
This is due to fact that plugin thinks that your inner block is smaller than outer(on which scrollyeah is triggered). It can be caused by following:
So in second case the solution would be to make a preloader and trigger scrollyeah after all images are loaded. As an exampled I modified the plugin:
this.each(function(){ var scrollyeah = $(this); if (!scrollyeah.data('ini')) { var imgs = scrollyeah.find("img"); if(imgs.length) { var count = 0; imgs.load(function() { if(++count===imgs.length) doScrollyeah(scrollyeah, o); }); } else doScrollyeah(scrollyeah, o); } });
Sorry, something went wrong.
No branches or pull requests
scrollyeah is not working for some reason until i resize the browser window?
The text was updated successfully, but these errors were encountered: