jQuery-One-Page-Nav icon indicating copy to clipboard operation
jQuery-One-Page-Nav copied to clipboard

3.0 Features

Open davist11 opened this issue 12 years ago • 12 comments

  • [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

davist11 avatar May 02 '13 21:05 davist11

wow, that's huge!!! really looking forewords the day you release 3.0. Thank you so much.

maisource avatar May 03 '13 00:05 maisource

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:

J-Rabe avatar Aug 29 '13 19:08 J-Rabe

How about adding submenu? Something like Bootstrap 3.0 documentation page, where it will reveal submenu on right sidebar?

Jonathlee avatar Mar 10 '14 03:03 Jonathlee

You should be able to open/close a submenu with the callbacks and classes.

davist11 avatar Mar 10 '14 14:03 davist11

Sorry, I'm a noob in Javascript, thanks for the reply Davist. Wasn't sure how to callback works.

Jonathlee avatar Mar 11 '14 01:03 Jonathlee

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

siamkreative avatar Mar 15 '14 04:03 siamkreative

Ah, didn't realize that they changed it from component.json to bower.json. Should be all set now.

davist11 avatar Mar 19 '14 03:03 davist11

Hi davist,

very nice update, but i missing the scrollOffset option. Do you have an example for the CSS only version now?

gamble23 avatar Apr 04 '14 10:04 gamble23

http://davist11.github.io/jQuery-One-Page-Nav/top.html

davist11 avatar Apr 04 '14 13:04 davist11

Allright, very easy :) Thanks alot!!! :+1:

gamble23 avatar Apr 04 '14 13:04 gamble23

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:

  1. I didn't like the fact the plugin relied on ScrollTo (it isn't anymore)
  2. 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.
  3. 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).

siamkreative avatar Apr 05 '14 04:04 siamkreative

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!

zuzizicke avatar Jul 04 '15 17:07 zuzizicke