On 16/04/2007, at 1:19 PM, DaveG wrote:
I've updated the existing plugin to work with the latest version of jQuery. In addition to being more compact, the code now:
 - uses fixed positioning
 - parameterized starting and ending header levels
 - parameterized TOC container

Code and example is http://solidgone.com/jquery/jqTOC/jqTOC.htm.

Feedback on code and functionality are welcomed.

 ~ ~ Dave

This looks awesome Dave. I like that it is a more "finished" product than my plugin so there is less left to the developer to do to get it working and looking great.

I also like that you can see the hierarchy of headings in the list. Currently you are using CSS to emulate the look of nested lists. Would it be better if the list of links had more sematics ie. actual nested ordered (maybe unordered) lists rather than a string of anchor tags within a div?

The code is nice and brief and looks pretty optimal, good job.

Joel.

Reply via email to