DROP DOWN MENU

What does it do?

The DropDownMenu applet operates like any normal drop-down menu. Incorporates configurable applet background color, list background color, text color, font face, style and size. Can be set to play an .au file when an item is selected, target frame to display selected item can be set for each list item. Once an item is selected, the drop-down menu can be set to display the first item in the list or the selected item. Unlinked text can be added to list. Reads from a text file (easy to change).

THE CODE...
=============

The following code can be cut and pasted into an HTML document. Make
sure that the DropDownMenu.jar file is placed within the same
directory as the HTML document that contains this code.


<APPLET CODE="DropDownMenu.class"
ARCHIVE="DropDownMenu.jar"
WIDTH="110"
HEIGHT="30">
<PARAM NAME="appletbgcolor" VALUE="0055aa">
<PARAM NAME="menubgcolor" VALUE="000000">
<PARAM NAME="textcolor" VALUE="ffff00">
<PARAM NAME="audio" VALUE="drip.au">
<PARAM NAME="textfile" VALUE="text.txt">
<PARAM NAME="fontface" VALUE="Arial">
<PARAM NAME="fontstyle" VALUE="plain">
<PARAM NAME="fontbold" VALUE="on">
<PARAM NAME="fontsize" VALUE="12">
</APPLET>
Make sure that your browser is Java enabled...
</APPLET>

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


CONFIGURATION:
==============

Width and Height can be set to desired specification.


Text file layout...

The values for each list item are set out as:
"LIST ITEM NAME | URL | TARGET FRAME", and should all be
entered on a single line per list item.

The "|" character (press "shift"+"\"), is used to separate
each item value:

Microsoft|http:\\www.microsoft.com|_blank
Local file|index.html|_self

NOTE: list items must always be followed by a URL and frame
target!

Blank lines are not allowed.

The following values set the target frame to load the specified
URL into:
"_self" - loads into current window.
"_parent" - loads into full current window if frames are used.
"_blank" - loads into a new window.
"framename" - loads into the name of the frame you specify.
If this parameter is left out then a default of "_self" will be used.


Parameters include...

<PARAM NAME="appletbgcolor" VALUE="ff0000">
This sets the background color, and should be entered as a hexadecimal
value. If this parameter is left out then a default color of white
will be used.

<PARAM NAME="menubgcolor" VALUE="ff0000">
This sets the color of the scroll area's background, and should be
entered as a hexadecimal value. If this parameter is left out then a
default color of white will be used.

<PARAM NAME="textcolor" VALUE="ff0000">
This sets the color of the scrolling text, and should be entered as a
hexadecimal value. If this parameter is left out then a default color
of black will be used.

<PARAM NAME="audio" VALUE="sound.au">
This sets the audio file to be played when an item is selected. If
this parameter is left out then no sound will be played.

<PARAM NAME="textfile" VALUE="test.txt">
Specifies the location and name of the text file to read information
from.
If this parameter is left out then it just won't work!

<PARAM NAME="fontface" VALUE="Arial">
This sets the font face to be used.
If this parameter is left out then a default of arial will be used.

<PARAM NAME="fontstyle" VALUE="italic">
This value sets the font to either 'italic' or 'plain'.
If this parameter is left out then a default of plain will be used.

<PARAM NAME="fontbold" VALUE="on">
This specifies if the text is displayed in bold, values accepted are
'on' or 'off'. If this parameter is left out then a default value of
off will be used.

<PARAM NAME="fontsize" VALUE="30">
This sets the size of the font in points.
If this parameter is left out then a default of 12 points will be used