Variable | Default value | Description |
---|---|---|
"ftstyle.css" | Name of file for use as style sheet. | |
false | If true, indicates menu and links share the same frame (frameless menus). | |
false | Indicates whether cascading menus are used (true or false). | |
false | If true, menu is within a table. | |
false | If true, menu is within a form. | |
false | If true, each node has a checkbox which can be used within a form. | |
"bgcolor = 'white'" | String containing HTML body options which is inserted into <BODY> tags, using standard HTML. This can be useful for version 3 browsers which do not support style sheets. | |
"" | Relative path for foldertree scripts, files and applets. | |
"menufrm" | Name of frame where the menu appears. This must be the same as in the HTML file. | |
"basefrm" | Name of frame where the linked document appears (assuming defTargetFrame is set to 0). This must be the same as in the HTML file. | |
0 | Default for where a document appears (the target frame) when a link is selected. 0 for base frame, 1 for a new window, 2 for the current overall window. This can be overridden for individual nodes in the menu definition. | |
0 | Default for type of link. 0 for relative URL, 1 for full URL (http), 2 for full URL (ftp), 3 for full URL (telnet). This can be overridden for individual nodes in the menu definition. Where a value of 1, 2 or 3 is specified, the link in the node definition omits the initial http://, ftp:// or telnet:// - these are prefixed automatically within the foldertree script. Alternatively, use a value of 0, and include the prefix http:// etc. explicitly for each node link. | |
"" | This is a part of the URL which is common for many nodes. It is concatenated together with the URL set for the node. It is useful for large menus where most nodes share similar URLs, as it can reduce the size of the menu definition file. Using this has no effect on the user interface, it merely reduces storage and download times. The URL for a node then becomes: commonLink + " the URL reference set for individual nodes" | |
8 | Gap in pixels between top of menu frame and top of menu. | |
8 | Gap in pixels between left of menu frame and left of menu. If -1, cascading menus are centered. | |
0 | Indicates whether the text part of the menu is used as a link as well as the icon. Value 0 (or false) indicates it is not, value 1 (or true) indicates that it is. | |
false | If true, the menu folder collapses after the node is selected. Only valid with frameless menus. | |
false | If true, if a node is expanded, then any currently expanded nodes on the same level are contracted. If false, any currently expanded nodes remain expanded. Setting this to true may be useful where there is not much space to display menus, but it can be a little confusing for users. | |
1 | This sets the initial mode of the menu. If 0, only the top node (level 0) is displayed. If 1, the first level below the top is displayed. If 2, all nodes are displayed. Note - setting this to 2 for large menus will result in significant performance degradation. Individual nodes can be set to be open on initialisation. | |
1 | This sets whether lines and plus/minus signs appear in the tree. If set to zero, they do not appear. If they do not appear, then the tree should expand/contract based on the icon (mouse over or click). | |
false | If true, only folders are shown in the menu, not documents. | |
true | If true, text displayed for a node is not wrapped. | |
false | If true, the top folder is not displayed. | |
0 | This sets what happens to the expand/collapse when a mouse goes over the plus/minus icon. If 0, nothing happens. This is the default. If 1, it only expands, and does not collapse open branches. If 2 it both expands and collapses. | |
0 | This sets what happens to the expand/collapse when a mouse goes over the node icon. If 0, nothing happens. This is the default. If 1, it only expands, and does not collapse open branches. If 2 it both expands and collapses. | |
0 | This sets whether a folder expands or collapses when the folder icon or folder text (if useTextLinks is set to 1) is clicked. Any hypertext link will always be navigated. If 0, nothing happens. This is the default. If 1, it only expands, and does not collapse open branches. If 2 it both expands and collapses. | |
"" | This sets the header which appears above the menu. The string can be any valid HTML which can be contained within a <BODY> tag. | |
"" | This sets the footer which appears below the menu. The string can be any valid HTML which can be contained within a <BODY> tag. | |
8 | This sets the margin as whitespace in pixels to the right of the icon for folders. This is useful if a space is needed between the icon and the text. Value can be any positive integer. | |
8 | This sets the margin as whitespace in pixels to the right of the icon for documents. This is useful if a space is needed between the icon and the text. Value can be any positive integer. | |
lightgrey | Background color for cascading frameless menus. | |
darkblue | Background highlight color for cascading frameless menus. | |
black | Text color for cascading frameless menus. | |
white | Text highlight color for cascading frameless menus. | |
outset | Border style for cascading frameless menus. | |
"" | Border color for cascading frameless menus. | |
150 | Menu width for cascading frameless menus. | |
22 | Menu height for cascading frameless menus. | |
100 | Text width for cascading frameless menus. | |
false | If true, tree menus are rigth to left. | |
false | If true, cascading frameless menus are horizontal. |