jQuery plugin to scroll page
Simple to use:
$(selector).scroll2Section({options});
selector can be one or more elements
options:
menu: #menu, //selector of menu [unique selector]
offSetTop:0, // page offset top
activeClass:'active', // class to active menu link
activeParent:'li' // parent closest of menu link
See examples: http://dialogo.digital/public/projects/scroll2section/
*** See an example into a example directory
Version 1.1
- Use one selector to menu
- return menu element
- bind update event
- use navfix class to calculate section position
This plugin require jQuery
This project is licensed under the MIT License - see the LICENSE.md file for details