show document outline
description:
using javascript to completely rewrite a document, in order to just show an outline based on the headings.
uses a recursive function to traverse the entire DOM tree, populates a fresh body element with any headings it encounters, and at the end substitutes the old body with the new one.
- completed:
- 01/04/2004
