skrollr
skrollr copied to clipboard
Skrollr intermittently breaking...
I am experiencing an issue with skrollr where sometimes it doesn't work on the initial load of a page, but once you scroll down to the element in question, and refresh the page, it works fine...
Is this something you've seen before?
For reference...
swankmedia.ca/coleman-smith
Each section has a black box with a description, there's a vertical grey line on each box that should be animating...
@manueltomasir Where you able to figure this out?
No, still no solution...
After the skrollr.init(), try running .refresh() on your skrollr object. I had a similar issue where the last slide would break, so I had to call .refresh() once the user got 50% down the page.
Thanks i'll give that a try
If you're using jQuery, this seems to work for me.
var s = skrollr.init();
$(window).on("load", function(){
s.refresh();
});