I'm using Zurb's Foundation to create a website. I'm using it's top-bar for my menu and made it sticky to the page. It's a single page, so to go to other parts of the page I want to use the topbar. When a user clicks on 'Contact', I want the page to scroll to the contact part (div with id="contact") of the website with a smooth scroll effect.
I've tried a lot of things, for example:
animated autoscroll to div onclick
And:
jQuery jump or scroll to certain position, div or target on the page from button onclick
But the fact is, whatever I try the page doesn't scroll. The funny thing is, it is showing an animation effect. But it doesn't go to the contact part, but to the top of the page.
Am I missing something obvious here? Or is it Zurb's Foundation that's interfering?
An example of the page can be found here: Out of date example
Any suggestion that helps to solve my incompetence would be appreciated!