I can't seem to get Skrollr menu to look for the actual link and animate to it. Rather, it appears that it looks at handlelink, and returns a value for how far to scroll based on that, but that's hardcoded in at 400. If I try to comment the handlelink out, the script no longer functions.
i'm hosting this online while i'm working on it as well. I'm only currently testing on the index page.
http://www.philkong.com/parallax
I can't seem to get Skrollr menu to look for the actual link and animate to it. Rather, it appears that it looks at handlelink, and returns a value for how far to scroll based on that, but that's hardcoded in at 400. If I try to comment the handlelink out, the script no longer functions.
i'm hosting this online while i'm working on it as well. I'm only currently testing on the index page. http://www.philkong.com/parallax
skrollr.menu.init(t, { animate: true, easing: 'outCubic', scale: 2, duration: function(currentTop, targetTop) { return 1000; }, handleLink: function(link) { return 1000; }, complexLinks: false, });