Refresh plugin after resize
Hi John,
The plugin doesn't seems to refresh after resizing, and the animations start/end delayed. There's a safe way to fix it?
Thanks
Is there an easy way to reset all scrollpoints?
Not at this time. I do accept pull requests.
Hi John,
I don't know why I cannot leave pull requests. I think that the resize method would be something like:
scrollorama.resize = function() {
var block;
for (i=0; i<blocks.length; i++) {
block = scrollorama.settings.blocks.eq(i);
blocks[i].top = block.offset().top - parseInt(block.css('margin-top'), 10);
}
};
Hi jorditost, I am having some difficult time adding that code you made into scrollorama js. Did you managed to make that script work? many thanks
We are making a site for a star trek/star wars-movie using scrollorama. Making a reload when user resizes the window but the second "slide" ends up way to far down, as if the page was fullscreen, any idea on what's happening?
can I also carry on animating elements after the next "slide" comes into scrolloramas focus?
Does anybody find solution with stopping animation when window is resizing?