jquery.tokko.js 0.1.6

Generates a table of contents and anchors based on document headers

View the Project on GitHub bebraw/jquery.tokko.js

jquery.tokko.js - Generates a table of contents and anchors based on document headers

jquery.tokko.js has been designed to make it easier to provide decent navigation for guides, tutorials and such. Pretty much all you need to do is to include the build into your site and then execute $parent.tokko();. It will generate an element containing a table of contents. It also attaches some anchors to headers to speed up navigation.

jquery.tokko.js works great with jQuery.LocalScroll. Use that if you want some spiffy animations on your site.

h1's are excluded out of the TOC by design. If you think otherwise or have any other development ideas, use the issue tracker.

Projects using jquery.tokko.js

Acknowledgments

Placeholder

This is just some placeholder to make the demo more effective.

Just Some Cat

Just some cat image

And Another One

Another cat image

License

jquery.tokko.js is available under MIT. See LICENSE for more details.