This applet allows you to establish an icon/image on a given page. When the icon is (right) mouse-clicked, a popup-menu appears that allows navigation to other URLs. This is very handy a navigation tool to complement or replace extra 'navigation frames' in a website. For example, by clicking on the icon below, one can go to any other page within the Applet Depot. Note that this applet is written in 1.1+ Java and thus might not work in older browsers (it will work in the latest versions of Netscape (4.06) and Internet Explorer (4.0)).
<param name=COPYRIGHT value="SiteMap applet, Copyright 1998, Eric Harshbarger">
FOREGROUND: This is the path to the image that appears when the mouse enters the applet (as opposed to the BACKGROUND image that is visible when the mouse is not in the applet).
MAPFILE: This parameter points the applet to a text file that lays out the structure and URLs of the PopupMenu and the webpages associated with it. The file must take a very specific format. Each line of the file consists of four parts: The indicator whether this line is a submenu start (a node, symbol '+') or a basic label (leaf, symbol '>'), the menu label (what appears on the popup menu at that position), the URL assciated with the label (this is optional), and the targeted browser frame (defaults to '_self' if omitted). Each part is separated by a TAB whitespace character.
>Label Name http://the.url.here target_frame
Also, which menu items are 'on the same level' as other menu items is indicated by the number of space characters before the indicator. The first line must not have any spaces, and, in general, no line may have greater than one more space indents than the preceding line. Lines which are indented more than the previous line are considered part of a submenu to the previous menu item. Be sure that any line that is supposed to have submenu items underneath it have their Indicator set to '+'. All non-submenu items have Indicators of '>'.
This is all rather complex, but can be visualized much more easily by looking at the MAPFILE for the example above. Compare the text file to the popup-menu that appears (Note, there is only one frame name given as I want the rest to default to '_self'). Giving a label the name of '-' inserts a separator bar in the menu at that position.