You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the script.js, it's possible to change it a little bit in order to always animate the page.
I have splitted the two directions to be able to setup the offset separetely osTrigger.waypoint(function(direction) { if (direction === 'down') { osElement.addClass('animated').addClass(osAnimationClass); } } ,{ triggerOnce: true, offset: '90%' }); osTrigger.waypoint(function(direction) { if (direction === 'up') { osElement.removeClass('animated').removeClass(osAnimationClass); } } ,{ triggerOnce: true, offset: '90%' });
The text was updated successfully, but these errors were encountered:
Hello,
In the script.js, it's possible to change it a little bit in order to always animate the page.
I have splitted the two directions to be able to setup the offset separetely
osTrigger.waypoint(function(direction) { if (direction === 'down') { osElement.addClass('animated').addClass(osAnimationClass); } } ,{ triggerOnce: true, offset: '90%' }); osTrigger.waypoint(function(direction) { if (direction === 'up') { osElement.removeClass('animated').removeClass(osAnimationClass); } } ,{ triggerOnce: true, offset: '90%' });
The text was updated successfully, but these errors were encountered: