3.0 Features
- [x] Remove reliance on scrollTo plugin
- [ ] Works both horizontally and vertically
- [ ] Add class to section when it's active (to trigger animations)
- [ ] Navigate between sections with keyboard
- [ ] Support for multiple navigations
- [ ] Zepto compatibility?
- [ ] Items can be out of order.
- [x] Remove scrollOffset. Rely on CSS only solution.
- [ ] Automatically select the first item when you are at the top of the page
wow, that's huge!!! really looking forewords the day you release 3.0. Thank you so much.
Hi there,
I have some feature wishes for usability :)
- Browser History Back/Foreward, like https://github.com/alextrob/SmoothAnchors
- fire scrollto event after someone loads the page with a hash/anchor
Good Work - love this plugin :+1:
How about adding submenu? Something like Bootstrap 3.0 documentation page, where it will reveal submenu on right sidebar?
You should be able to open/close a submenu with the callbacks and classes.
Sorry, I'm a noob in Javascript, thanks for the reply Davist. Wasn't sure how to callback works.
Hey there,
I've been using this plugin for quite some now. It would be awesome if you could define a Bower package for this plugin :)
Cheers
Ah, didn't realize that they changed it from component.json to bower.json. Should be all set now.
Hi davist,
very nice update, but i missing the scrollOffset option. Do you have an example for the CSS only version now?
http://davist11.github.io/jQuery-One-Page-Nav/top.html
Allright, very easy :) Thanks alot!!! :+1:
Hey, lately I used ScrollIt.js instead of your plugin. I thought I could let you know why I looked into another plugin, so maybe you can make this one better:
- I didn't like the fact the plugin relied on ScrollTo (it isn't anymore)
- I wanted to be able to trigger the smooth scroll from others elements (not only the navigation menu), such as a button element in the page.
- I like the keyboard navigation even though I don't think it's a big game changer.
What I would really like to be able to do is to use the smooth scroll on any element (preferably using data-attributes).
Hi davist11, I'm just testing the jQuery-One-Page-Nav on a project of mine and found an issue which I would like to be solved: If the navigation self-selects the menu buttons, you can't click on the active button to scroll to the beginning of the section. Nothing happens. It would be fine to get to the top of the section, even if it's already highlightened. --- Would be pleased about an answer from you. Thanks for the great plugin!