@@ -179,6 +179,27 @@ Here's an infographic for better understanding of anchors (click to open PDF):
In case you want to use hash links, e.g. `<href="#section-about">About</a>` you need to know the following:
* If you animate `top`, `margin-top` or anything that moves the element up/down, the browser won't be able to jump to the correct position and you may end up somewhere else
* If you're using skrollr on mobile they won't work at all, because we're not using native scrolling there
**But** we've got you covered. Download the `dist/skrollr.menu.min.js` file and include it right after the `skrollr.min.js` file. Then you need to call `skrollr.menu.init(s)` passing the skrollr instance as first parameter and optionally some options. Here's a full example.
var s =skrollr.init(/*other stuff*/);
//The options (second parameter) are all optional. The values shown are the default values.
animate:true, //skrollr will smoothly animate to the new position using `animateTo`.
duration:500, //How long the animation should take in ms.