Parameter

Initiating the applets:

<applet codebase="." code="AutoNavigator.class" archive="autonavigator.jar" width="" height="">

<applet codebase="." code="auto/Navigator.class" archive="navigator.jar" width="" height="">

With codebase="" the jar-archive may be called from a different path.

width="" height="" are arbitrary integers. Relative value are accepted, too.

The following parameters may be used:

param name="Options" value="" Integer which regulates the automated reading of files. The value is the sum of single options.
"1" the applets start reading at the path of the document which calls the jar-archive.
The AutoNavigator stops the automated reading with value >= 2; the following options are used by the Navigator:
"2", the primary folders of the main path become submenus of the first menu .
"4", the paths called by Menu become submenus of the first menu .
"8", files called by Url become submenus of the first menu .
"16" no automated reading of the main path.

param name="Header" value="" string of the menu's title. The default is "Menu".

param name="Filter" value="" string of file types which should appear within the menu. Multiple parameters are separated by a semicolon : value="htm;jpg;gif". The default is "html".

param name="Target" value="" String of the target frame. The default is "Main"

param name="Submenus" value="" Integer which limits the number of file path folders. The maximum is 6, the default is 2.

param name="TopColor" value="" hexadecimal number of the top color of the gradient.

param name="BottomColor" value="" hexadecimal number for the top color of the gradient.

param name="Background" value="" hexadecimal number for the background color, important if transparent colors are provided.

param name="ColorSpace" value="" String for the color space : RGB, HSV, HMV. Within HSV, the shortest way is choosen on the color circle, within HMV the longest.

param name="TextColor" value="" hexadecimal number for text color.

param name="TopTextColor" value="" hexadecimal number for text color when the upper part of the gradient is displayed.

param name="BottomTextColor" value="" hexadecimal number for text color when the lower part of the gradient is displayed.

param name="VisitedTextColor" value="" hexadecimal number for text color of visited pages in Navigator. The AutoNavigator uses "VisitedFontStyle" instead.



With 8 hexadecimal digits of color values, the first two digits are interpreted as Alpha-values which regulate the transparency . Exceptions, "Background" and "TextColor" in AutoNavigator which are opaque, always.

param name="FontSize" value="" Integer

param name="FontStyle" value="" Integer from 0 to 3.

param name="VisitedFontStyle" value="" Integer from 0 to 3. This parameter is used by the AutoNavigator, exclusively. Navigator uses "VisitedTextColor" instead.


param name="Contrast" value="" Floating point number, negative values are accepted, point is required.

new in 1.5
param name="PagePath" value="" The value must be the relative path from the jar-archive to the document. The character '/' is required at the end of the string.



param name="Menu0" value=""
param name="Menu1" value=""....
Paths to be opened as submenus at the end of the menu but before "Url"s. The value must be a relative path from the jar-archive to the path. The character '/' is required at the end of the string. The enumeration of menus has to be a direct sequence starting with "0".

Because all path names have to be relative to the jar archive, it is recommended to place the jar-archives into the root directory of a website. This enables the applets to reach all files of a website.

param name="Open" value="" Prefix of file names which open an additional submenu for each file at its respective path. The prefix is not shown in the menu.

param name="Url0" value=""
param name="Url1" value=""....
Files to be opened as submenus at the end of the menu. The value must be a relative path from the jar-archive to the file. The enumeration of URLs has to be a direct sequence starting with "0".

The parameters "Open" and "Url" are designed to load foreign URLs. Within the links in these files, a name of a target frame is required. The default is "_blank". The menu item prefers to show the linked text. Text reading is stopped at the first opening HTML-bracket. If text cannot be detected (linked images or other objects), the URL is shown.

Remarks: The index files generated by servers do not supply names of target frames. Therefore, all files from index files are loaded into the same frame selected by the parameter "Target". The parameters "Open" and "Url" are intended to open foreign URLs. Therefore, the default of both parameters for a target frame is "_blank". Because my own pages are located on various servers, I included the additional reading of target frame names for both parameters.