|
Name
|
Function
|
Values
|
|
General parameters
|
audioclick
audiomove
|
Sounds produced by any mouse click or mouse move
action over the menu. (Sounds can also be individualised
for entries using entries in the index file.)
|
The name of an .au file
|
copyright
|
Fixed parameter which must be present for the menu to work.
|
Copy and paste exactly from the starter package or demos.
|
entry
|
For entering menu information via parameter.
Parameter name must be suffixed by the number
of the entry - zero-based.
|
The format is described in the index file
documentation.
|
entryheight
|
Vertical space assigned to menu entries is
normally the same as the icon or button
image height (parameter: imgheight); the
vertical space may be increased or decreased
using this parameter.
|
A small positive or negative integer.
|
entryindent
|
The pixel distance by which a tree view
sub-menu shifts horizontally relative to
its parent. (Trees only)
|
An integer - 8 to 16 is recommended.
|
escapepage
|
Sets the page loaded by the applet if any
fatal error is detected by the applet.
|
Should normally be the HTML name of your
non-java menu page; the page should be in
the same directory as the applet.
|
menustyles
|
The number of styles in your stylesheet.
|
2 to 127.
|
menuanimspeed
|
The animation speed of sliding when folders
open and close.
|
0: off
1-50: speeds from slowest (1) to fastest (50)
|
menuclosetrigger
|
The number of menu entries actually visible at
which the applet triggers an automatic tidy-up
by closing old folders.
|
0-50.
|
menudeftarget
|
If any entries in the index are not assigned a
target frame in the link command, this parameter
specifies the default target frame.
|
The name of a frame as set in your <FRAME> tags.
|
menufile
|
The name of the first index file to be loaded
into the applet. If using parameters to load
the first index, leave out this parameter.
|
Anything delivering an ASCII stream. Normally
a .txt file created by the development
environment. The stream or file must originate
from a URL that is the same directory as or a sub-directory of
the directory holding the applet.
|
menuXoffset
menuYoffset
|
Move the whole menu around relative
to the sides of the applet.
|
Integers.
|
startlevel
|
Sets the level to which tree sub-menus are
visible on start-up. Over-ridden by
the parameter menuclosetrigger
if applicable. Instead you should normally use
the start page facility in the
index file for opening folders on start-up.
|
A very small integer, preferably 1 or 0.
|
|
Graphics parameters
|
bgcolour
|
The background colour. Set this even when using
a background image.
|
An HTML hex code value. Do not preface with #.
|
bgimage
|
A background image for the menu. Tiled to fit
if necessary just like an HTML background.
|
A JPG or GIF file. All image files must be
in the same directory as or a sub-directory of
the directory holding the applet.
|
imgfile
|
A set of images for icons.
If unspecified, each applet takes on its own set of
default icons or buttons.
|
A JPG or GIF file. All image files must be
in the same directory as or a sub-directory of
the directory holding the applet.
|
imgheight
imgwidth
|
The height and width of the individual images
contained in the file specified by imgfile
above. Allows the applet to disect out the individual
images.
|
Pixel sizes.
|
imgXoffset
imgYoffset
|
If your index file specifies graphic images
to replace or put alongside text, you can
correct their positioning if necessary.
|
Integers specifying pixel distances. Negative
moves the images up or left.
|
imgtranscol
|
Image resources for the applet should not use
a transparent index as this is interpreted
unreliably in java. For greater reliability use
non-transparent image files, and specify a colour
using these parameters which the applet should
make transparent. Also works with JPG.
|
An HTML hex code value. Do not preface with #.
|
scrollhoriz
scrollvert
|
Controls the positioning and appearance of
horizontal and vertical scrolls. The exact
availability and effect of these parameters
depends which type of menu is being used.
|
0: off
1: "normal"
2: forced
appearance even when not needed
Negative/positive values: switch the
scrollbar from left to right or top to bottom.
|
scrollimages
|
A specially formatted image file with symbols
for creating user-defined scrollbars. We provide
a small library of scrollbars and instructions
for making your own. If this parameter is not
specified, each menu applet has a default internal
scrollbar. To deactivate scrollbars, set the above
parameters (not this one) to zero.
|
A JPG or GIF file. All image files must be
in the same directory as or a sub-directory of
the directory holding the applet.
|
scrolljump
|
Sets the distance by which a single click on the
end of a scrollbar will scroll the menu up or down.
Specifies a percentage of the maximum scrollable
distance.
|
10 to 100. Do not include % sign.
|
scrollwidth
|
The width of the scrollbar. If an image
file is used to create the scrollbar appearance,
this must specify the pixel height of the image
file.
|
An integer, normally about 6 to 16.
|
frameimage
|
A border image to go around the menu. Will not
work until a border width greater than zero has
also been set (see below). If necessary, the image
will be tiled to fit like an HTML background image.
Can be used for shadow and other effects.
|
A JPG or GIF file. All image files must be
in the same directory as or a sub-directory of
the directory holding the applet.
|
frameleft
frameright
frametop
framebottom
framewidth
|
Specify the border widths for the border image.
All four sides can have a different width - useful
with shadow or title borders.
|
Integers.
|
Text parameters
|
|
Note that most of these parameters are stylesheet
parameters. If the parameters are suffixed with nothing,
they set the stylesheet defaults (globally). If a stylesheet parameter
is suffixed with a number, then only a single style in the stylesheet is
set. Styles are only available if the menustyles
parameter is set correctly. The numbers suffixed on the
ends of stylesheet parameter names must correspond with the
stylesheet markers in the index file.
|
textNcolour
textHcolour
textScolour
|
Stylesheet parameters, specifying respectively
the normal text colour, the highlighted (mouse-over,
focus) text colour, and the shadow colour behind
the text (if specified). Shadows are switched off
using the textshadow parameter.
|
An HTML hex code value. Do not preface with #.
|
textAcolour
textVcolour
|
Stylesheet parameters with extended colour
effects: they specify "active" and "visited"
colour states
|
An HTML hex code value. Do not preface with #.
|
textfont
|
Stylesheet parameter.
Standard java recognises only "Helvetica" and
"TimesRoman". Anything else will appear as
Helvetica. To use different fonts, see the index
file documentation for entering text-graphics instead
of text.
|
"Helvetica" / "TimesRoman".
|
textNstyle
|
Stylesheet parameter.
Sets italics / bold.
|
0: plain
1: bold
2: italics
3: bold italics
|
textXoffset
textYoffset
|
Stylesheet parameters. Each style can have text shifted
up, down, left or right by pixel distances you specify.
|
Integer values. Negative values move the text up or left.
|
textsize
|
Stylesheet parameter. The font size for this style.
|
An integer.
|
textshadow
|
Not a stylesheet parameter. Specifies the
shadow type. Thin shadows recommended with
background images. Fuzzy-edged shadows recommended
with plain backgrounds.
|
0: no shadow
1: thin shadow
2: fuzzy-edged shadow
|