Posts tagged 〝tableofcontents〞

The Table of Contents script – my old nemesis

January 6th, 2010 at 2:57 pm

Generating a nested table of contents from HTML headings is harder than it looks. Compares DOM walking, regular expressions, YUI3 and server-side PHP.