I have to custom the scrolling end position of section, because I have a fixed header, when scrolling up the header will move up and hide, scroll down it will show. The fixed header effect works like this https://www.ieiworld.com/en/product/model.php?II=864
So "onLeave", I use jQuery animate function to scroll to my custom position when scroll down or up. It work just fine. But I have the sticky header(like the example link dark grey header) which will navigate to other section using jquery animate function to implement too. But when clicking the sticky header navigation link, the page is going crazy, automatically scrolling up and down. How can I fix that?
I have to custom the scrolling end position of section, because I have a fixed header, when scrolling up the header will move up and hide, scroll down it will show. The fixed header effect works like this https://www.ieiworld.com/en/product/model.php?II=864
So "onLeave", I use jQuery animate function to scroll to my custom position when scroll down or up. It work just fine. But I have the sticky header(like the example link dark grey header) which will navigate to other section using jquery animate function to implement too. But when clicking the sticky header navigation link, the page is going crazy, automatically scrolling up and down. How can I fix that?
fullpage version: 2.9.7
My fullpage setup is like this: