A method and system of dynamically altering the contents of a web page.
The method comprises the steps of providing a web page having a title
selected in accordance with a pre-defined naming convention, and
providing a style sheet having pre-defined style attributes. The method
further comprises the steps of selecting the web page, reading the title
and identifying a section name based on the title, and altering the
pre-defined style attributes based on the section name. This invention
allows the Web page developer to highlight the active section of the site
within the left-hand navigation (or anywhere on the page, if desired)
using CSS and JAVA Script. No manual intervention is required. As new
pages are added to the Web site, the developer simply follows the
established naming convention, and the appropriate section will
automatically be highlighted.