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
928 stars 216 forks source link

Apply to a div #68

Open JSLAMY opened 9 years ago

JSLAMY commented 9 years ago

Hello,

I suggest you to offer the capability to apply tocify on a "content div". In that way we could scroll the Div and not the entire window.

I've tried to change $("html, body").animate({... by $("#content").animate({...

It works when I clic on TOC but TOC is not refresh when I scroll the div (and there are some little errors of content position)

Thank you for your good job and sorry for my bad english

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

CalleTuvesson commented 8 years ago

I second this, it would be a nice feature

jamesalmeida commented 8 years ago

I agree too