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

Pass function to scrollTo parameter #33

Closed sfradel closed 11 years ago

sfradel commented 11 years ago

This is usefull in situations where scrollTo is not constant.

gfranko commented 11 years ago

I'll allow a function to be passed to the scrollTo option in the next release!

gfranko commented 11 years ago

This is now supported in the current release =)

matryer commented 11 years ago

@gfranko - note you can commit code with "Addresses #33" or "Fixes #33" to have issues automatically annotated or closed respectively.

gfranko commented 11 years ago

@matryer Yea, that would have been a better option here. If I get lazy and include multiple fixes in one commit, I tend to not close/reference issues directly since there is more code to wade through that does not apply to a particular issue. Good tip though!