gfranko / jquery.tocify.js

A jQuery Table of Contents plugin that can be themed with Twitter Bootstrap or jQueryUI.
http://gregfranko.com/jquery.tocify.js/
MIT License
927 stars 217 forks source link

Feature Request - Refresh/Destroy #56

Open gfranko opened 10 years ago

gfranko commented 10 years ago

Allow users to refresh/destroy the TOC after initialization. This will go out very soon in the next release.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

pmkhoa commented 10 years ago

Hey Greg,

Love your plugin. Do you have a timeline when you will have this feature release?

Thanks!

gfranko commented 10 years ago

I'm trying to wrap up and get this release out the door sometime this weekend (probably Sunday).

pmkhoa commented 10 years ago

I'm looking forward to it. Currently, I load the the toc content via ajax, and looking for a way to reinitialize or refresh it so that the navigation will be highlighted correctly. Thanks!

gfranko commented 10 years ago

Working on a few different projects at the moment, so I'm hoping to get this out sometime this week.

pmkhoa commented 10 years ago

Hi Greg, Hope you're doing well. Have you had time to push your updates yet? Thanks!

gfranko commented 10 years ago

Not yet unfortunately =(

jesseschoff commented 10 years ago

Greg, Any way to refresh Tocify yet? I'm adding or removing sections based on user input, and want the TOC to update when a new header is added to the page.

nono commented 10 years ago

Hello, I'm also interested by a way to refresh the TOC. When elements are added between the titles, the links don't scroll to the good position.

gfranko commented 10 years ago

I will be looking at this today and providing a fix. I'll let everyone know when it is released.

gfranko commented 10 years ago

Sorry that I haven't been able to find time for a fix yet. I"ll try to update this as soon as possible.

jesseschoff commented 10 years ago

Hi Greg,

Any updates on this? It's the last piece I'm missing for my new project. I have a bunch of "//refresh toc" comments in my functions :P

On Fri, Sep 26, 2014 at 4:35 AM, Greg Franko notifications@github.com wrote:

Sorry that I haven't been able to find time for a fix yet. I"ll try to update this as soon as possible.

— Reply to this email directly or view it on GitHub https://github.com/gfranko/jquery.tocify.js/issues/56#issuecomment-56939883 .

mubaidr commented 9 years ago

I have added auto-update feature, pull request 71.

https://github.com/gfranko/jquery.tocify.js/pull/71

sman591 commented 9 years ago

+1 any plan to get this merged?

qknight commented 1 year ago

Is this now merged? I can't find any code in the PR.