JavaScript Content Auto-Indexing using DOM

On the web pages with a lot of text content such as technical documents, novels, text stories, reportages, etc; usually we have to create the bookrmarks (anchor links) manuallly. Now these time-consuming jobs like that will be not available if the web pages use this JavaScript code example; this JavaScript code makes it easy for people to jump to the section they want to read by making a table of contents using the h1 to h6 tags automatically. Now it's time to create content only for content publishers!


Sampled by © JavaScriptBank.com

foo

bar

quux


2000+ free JavaScripts
at www.JavaScriptBank.com