I've made a simple parallax page using skrollr.js, but after showing one to the client he decided that scrolling up instead of down would be better, is there a way to "rebind" mouse wheel behavior to avoid remaking all the animations? Here's a piece of a code I've tried to use:
$("html, body").animate({ // executed on scroll
scrollTop: st+2500,
}, 1500, 'easeOutQuad');
timeouts.push(setTimeout(function(){
active = true;
enable_scroll();
}, 2000) );
disable_scroll(); //disabling scroll
It could work, but I couldn't scroll up from the top of a page. I've started "spaghettieing" code even more and kinda lost myself there. Maybe there's a better way of solving this problem? Cheers!