Design for Airflow Project Timber

Extensible Dropdown menus

The objective is to have a low maintenance method of providing a dropdown menu of existing pages.

To ensure that this cannot be broken by users or maintainers it would be better if the system were to generate the drop down list automatically; so a server side include will be used.

To make life really easy the pages to be referered to will be held in a specific directory with meaningful file names, containing the same text as is to appear in the drop down list.

The code will then just look in the specified directory, find all html files, sort them, substitute spaces for underscores and pop them in the list. The value of the action in the form will be the destination selected, but for Javascript enabled browsers teh user will be taken there on selecting the destination.

References

See my local copy of the example at http://www.catalog.com/catalog/goto.html.

Document Dated: Tue Sep 29 3:27:11 1998
Modify this document
Previous Version