Help Search SiteMap Directories MyMHC Home Alumnae Academics Admission Athletics Campus Life Offices & Services Library & Technology News & Events About the College Navigation Bar
MHC Home Using the Document Interface

The .MENU Command

Syntax: .MENU File=

This command inserts an expandable and collapsible menu at the location of the command. This menu can be used to represent any sort of tree structure, like the outline of a long document or a list of files.

In the menu file, any unordered lists (enclosed in <UL></UL> tags) are converted to an expandable list by the document interface.

A similar effect to this command can be achieved by simply renaming the file with the extension .menu and viewing it directly. See this page for more information.

Here is an example using the .MENU command. This is what the list looks like when displayed normally:

Flora and Fauna

Here is some text underneath the menu.

And this is the command used to produce the menu, along with the result. Click on the yellow arrows to expand branches.

<!--.menu "menutest.html"-->

Flora and Fauna

.Antelopes
.+Fish
.Daisies
.+Trees

Expand All | Collapse All

Here is some text underneath the menu.

Notice how the Location URL changes each time you expand a branch. You can have a menu always open to a certain state by using this URL as a link from another page.

----------------------------------------

Home | MyMHC | Web Email | Directories | SiteMap | Search | Help

Admission | Academics | Campus Life | Athletics
Library & Technology | About the College | Alumnae | News & Events | Offices & Services

Copyright © 1999 Mount Holyoke College. This page created by the OIS Operations Group and maintained by Webmaster. Last modified on March 23, 1999.