Page Glossary

General Information

Purpose
A replacement for makeGlossary. This script collects all of the abbreviations (<abbr>), acronyms (<acronym>), and definitions (<dfn>) on a page and builds a definition list (<dl>) of the terms, which is appended to a specified container (identified by its id). The script checks for duplicate terms and also alphabetizes the terms. This script was created as a usability enhancement for webpages.
Current Version
1.0 (27 November 2005)
Requirements
None

Use

Simply include the pageGlossary.js file in the head of your document.

Change Log

1.0 (27 November 2005)
Initial script – a rewrite of makeGlossary() as an object literal; all external functions have now been rewritten as object methods.

Optimized Releases

These releases have been optimized for production by removing unnecessary white space, carriage returns, etc.

Development Version

If you are interested in helping to further develop this script, you can download the uncompressed JavaScript source file.