rnarian / anchor.js

jQuery plugin that automatically creates unique anchor links for headlines, paragraphs or other specified elements.
7 stars 1 forks source link

two simplde features #1

Open 9px opened 10 years ago

9px commented 10 years ago

hi, thanks.

  1. when i open anchor link in new tab, the page does not scroll to the anchor. in other word; the plugin need to read hash value at start and fire the link click event.
  2. with .anim method of jQuery you can easily add soft scroll to the anchor click.
rnarian commented 10 years ago

Hey, thanks for your suggestions.

I'll definitely look into 1 but I'm no sure about 2, because I think that's something you could easily add if you use this script.