The <navigation> tag generates graphical menus. Within it the
<textstyle>, <boxstyle>, <mi> and
<submenu> tags are used to specify the appearance of the
menu. The <submenu> tag use the same attributes as
<navigation> and is used for making nested menus.
bg=color
Sets the background color of the background image.
bgsrc=path
Sets the background to the given image.
fs
Applies a Floyd-Steinberg dither to the result.
horiz
Makes the menu horizontal, all box-styles are rotated 90 degrees
counter-clockwise.
imgbase=path
Imgbase can be used to simplify the use of graphics in your menu. The
path specified will be used as a prefix to all image paths.
indent=number
Sets the amount of indentation.
maxwidth=number
The max width of the text column. If the text in a menu box is wider
than this, it will be word wrapped to fit.
mirrortile
Mirrortiles the background image.
preload
Generates extra Java Script code used to load all images used in
the menu. This may speed up the delivery of the pages since the
requested images will already be in the client's local cache when
requested.
quant=number
Quantifies the image with the specified number of colors. The default
is set in the configuration interface. At most 255 colors can be
used.
scaletofit
Scales the background image to fit the size of the generated menu.
selected=number
Determines which menu item should be selected. The first item is item
number one. A number out of range will generate the menu without any
selected item. Note that the preferred way to determine which menu
items should be select is by using the selected attribute
in a <mi> tag.
tile
Tiles the background image.
transparent=color
Makes the resulting GIF image transparent at pixels with the specified
color. Defaults to the background color of the current document, set
in the standard HTML {body} tag. Detection of HTML colors is
done by the Graphics Text module.
Attributes
- bg=color
-
Sets the background color of the background image.
- bgsrc=path
-
Sets the background to the given image.
- fs
-
Applies a Floyd-Steinberg dither to the result.
- horiz
-
Makes the menu horizontal, all box-styles are rotated 90 degrees
counter-clockwise.
- imgbase=path
-
Imgbase can be used to simplify the use of graphics in your menu. The
path specified will be used as a prefix to all image paths.
- indent=number
-
Sets the amount of indentation.
- maxwidth=number
-
The max width of the text column. If the text in a menu box is wider
than this, it will be word wrapped to fit.
- mirrortile
-
Mirrortiles the background image.
- preload
-
Generates extra Java Script code used to load all images used in
the menu. This may speed up the delivery of the pages since the
requested images will already be in the client's local cache when
requested.
- quant=number
-
Quantifies the image with the specified number of colors. The default
is set in the configuration interface. At most 255 colors can be
used.
- scaletofit
-
Scales the background image to fit the size of the generated menu.
- selected=number
-
Determines which menu item should be selected. The first item is item
number one. A number out of range will generate the menu without any
selected item. Note that the preferred way to determine which menu
items should be select is by using the selected attribute
in a <mi> tag.
- tile
-
Tiles the background image.
- transparent=color
-
Makes the resulting GIF image transparent at pixels with the specified
color. Defaults to the background color of the current document, set
in the standard HTML {body} tag. Detection of HTML colors is
done by the Graphics Text module.
Example
|