|Hybrid drop-down menu / image-map menus|
Text and colour formatting
1. Text formatting.
To format the text (for the moment excluding colours), there
are the following parameters. The parameters must be written
into your HTML file between the APPLET tags - just like the
examples earlier in the documentation.
<param name=textfont value="Helvetica">
<param name=textsize value=11>
<param name=textstyle value=0>
The parameter textfont may have the values
"Helvetica" and "TimesRoman". The parameter textsize
may have any value you choose. The parameter textstyle
follows this scheme: 0 = plain, 1 = bold, 2 = italic, 3 = bold italic.
2. Colour parameters.
The following parameters are available. The first takes the standard
HTML hexadecimal values (FF0000 = red, 00FF00 = green, 0000FF = blue, and so on).
<param name=bgcolour value="000000">
<param name=hue value="20">
<param name=saturation value="80">
<param name=contrast value="90">
The background colour parameter (bgcolour) sets the
background colour of the applet. This is needed during loading
(e.g. while the image is still downloading), and is also needed
for overlap areas if the image does not have exactly the same size as the applet.
The remaining three parameters (hue, saturation, contrast) set the
appearance of the sub-menus. The sub-menus consist of about 8 different
colours for borders, text, highlights, etc, and these 8 colours are chosen
in a matching scheme defined by these three parameters.
Hue sets the colour; possible values are 0 to 100,
where zero and 100 are red, 15 is yellow, 25 is green, 60 is blue, with
all shades between possible.
Saturation sets how strong the colour is. Zero produces
a grey scale applet, whatever the hue is. 100 produces the strongest colours,
but may be too strong. Values between 70 and 90 are recommended.
Contrast increases the contrast between dark and light
colours. Values between 0 and 100 are possible. Zero will make everything
the same colour and is not advised. 100 may be too sharp. 80 is the default.