1. The following table describes the attributes of nodes that the <settings> element contains:
Node name |
Attribute name |
Default |
Description |
| menuBar |
width |
500 |
The width of the menu bar, in pixels. |
| |
height |
30 |
The height of the menu bar, in pixels. |
| |
color1 |
"FFFFFF" |
The starting (top) color of the gradient fill of the menu bar background. |
| |
alpha1 |
0 |
The starting (top) alpha transparency of the gradient fill of the menu bar background. Possible values: from 0 to 100. |
| |
color2 |
"FFFFFF" |
The ending (bottom) color of the gradient fill of the menu bar background. |
| |
alpha2 |
0 |
The ending (bottom) alpha transparency of the gradient fill of the menu bar background. Possible values: from 0 to 100. |
| |
rounded |
"all" |
Specifies which corners of the menu bar to be drawn rounded. Possible values: "all", "left", "right", "top", "bottom", "none". |
| rectangleCornerRadius |
value |
5 |
Specifies the corner radius for all background fills (rectangles), in pixels. |
| leftMargin |
value |
0 |
The left margin of the menu, relative to the left edge of the menu bar, in pixels. |
| itemHeight |
level1 |
30 |
The height of each top-level item, in pixels. |
| |
level2 |
25 |
The height of each pop-up level item, in pixels. |
| itemWidth |
level1 |
100 |
The width of each top-level item, in pixels. |
| |
level2 |
150 |
The width of each second-level item, in pixels. |
| |
level3 |
150 |
The width of each third-level item, in pixels. |
| |
level4 |
150 |
The width of each fourth-level item, in pixels. |
| |
level5 |
150 |
The width of each fifth-level item, in pixels. |
| topLevelIcons |
enabled |
"true" |
Determines whether to draw the icons for the top-level menu items. The top-level icons are built-in and predefined. Possible values: "true", "false". |
| |
size |
undefined |
The size of the icon for each top-level menu item, in pixels. The value of this parameter is controlled programmatically and depends on the specified font size and font family. Use this attribute optionally if you want to set your custom value for the size of a top-level icon. Possible values: 5, 7, 9, 12, 14.
|
| popupLevelIcons |
enabled |
"true" |
Determines whether to draw the icons for the menu items of pop-up levels. The pop-up level icons are built-in and predefined. Possible values: "true", "false". |
| |
size |
undefined |
The size of the icon for each pop-up level menu item, in pixels. The value of this parameter is controlled programmatically and depends on the specified font size and font family. Use this attribute optionally if you want to set your custom value for the size of a pop-up level icon. Possible values: 5, 7, 9, 12, 14. |
| tweenDuration |
rollover |
0.2 |
A number indicating the duration of the tweened animation in seconds. The tweened animation is applied to each top-level item and its nested submenus when fading in and out. Possible values: from 0 to 0.7. |
| |
sliding |
0.2 |
A number indicating the duration of the tweened animation in seconds. The tweened animation is applied to submenu blocks when sliding to the right or to the left. Possible values: from 0 to 0.5. |
| fadeOut |
delay |
0.4 |
Amount of time (in seconds) to wait before fading out the rolled-over top-level item and its nested submenus after the mouse pointer is no longer positioned over the menu. Possible values: from 0 to 3. |
| shiftLeft |
basic |
10 |
Specifies the distance (in pixels) between the left edge of the top-level item and the left edge of its nested second-level submenu in the state when the third-level submenu is closed. |
| |
slide |
40 |
Specifies the distance (in pixels) between the left edge of the top-level item and the left edge of its nested second-level submenu in the state when the third-level submenu is opened. |
| glowFilter |
enabled |
"true" |
Determines whether to apply a glow effect to pop-up submenu blocks. Possible values: "true", "false". |
| itemRollAnimation |
mode |
1 |
Lets you select which type of animation effect to apply to a pop-up level item when it is rolled over or rolled out. Possible values: 1, 2, 3. |
| fontFamily |
name |
"_sans" |
The font name for text. |
| embedFonts |
enabled |
"false" |
A Boolean value that indicates whether the font specified in fontFamily is an embedded font. This parameter must be set to "true" if fontFamily refers to an embedded font. Otherwise, the embedded font is not used. If this parameter is set to true and fontFamily does not refer to an embedded font, no text is displayed. Possible values: "true", "false". |
| fontSize |
level1 |
12 |
The point size for the font of a top-level item text. Possible values: from 8 to 96. |
| |
level2 |
11 |
The point size for the font of a pop-up level item text. Possible values: from 8 to 96. |
| fontColor |
level1 |
"6683AF" |
The text color of a top-level item. |
| |
level2 |
"FFFFFF" |
The text color of a pop-up level item. |
| fontColorRollover |
level1 |
"AFB2B6" |
The color of text when the pointer rolls over a top-level item. |
| |
level2 |
"383838" |
The color of text when the pointer rolls over a pop-up level item. |
| fontColorSelected |
level2 |
"DADEE9" |
The color of text in the selected pop-up level item. |
| fontColorDisabled |
level1 |
"979797" |
The text color of a top-level item when it is disabled. |
| |
level2 |
"B1B4B8" |
The text color of a pop-up level item when it is disabled. |
| fontWeight |
level1 |
"normal" |
The font weight for the text of a top-level item. Possible values: "normal", "bold". |
| |
level2 |
"normal" |
The font weight for the text of a pop-up level item. Possible values: "normal", "bold". |
| fontStyle |
level1 |
"normal" |
The font style for the text of a top-level item. Possible values: "normal", "italic". |
| |
level2 |
"normal" |
The font style for the text of a pop-up level item. Possible values: "normal", "italic". |
| textDecoration |
level1 |
"none" |
The text decoration of a top-level item. Possible values: "none", "underline". |
| textDecorationRollover |
level1 |
"none" |
The text decoration when the pointer rolls over a top-level item. Possible values: "none", "underline". |
| textAlign |
level1 |
"left" |
The text alignment of a top-level item. Possible values: "left", "center", "right". |
| textPaddingLevel1 |
top |
undefined |
The spacing between the top edge of a top-level item and the text of its label, in pixels. Use this attribute optionally if you want to set your custom value for this parameter. |
| |
left |
undefined |
Specifies the spacing (in pixels) between: (a) the left edge of a top-level item and the text of its label (or the top-level icon, if topLevelIcons is set to "true"), (b) the right edge of a top-level item and the text of its label. Use this attribute optionally if you want to set your custom value for this parameter. |
| textPaddingLevel2 |
top |
undefined |
The spacing between the top edge of a pop-up level item and the text of its label, in pixels. Use this attribute optionally if you want to set your custom value for this parameter. |
| |
left |
undefined |
The spacing between the left edge of a pop-up level item and the text of its label (or the pop-up level icon, if popupLevelIcons is set to "true"), in pixels. Use this attribute optionally if you want to set your custom value for this parameter. |
| backgroundLevel1 |
color1 |
"FFFFFF" |
The starting (top) color of the gradient fill of a top-level item's background. |
| |
alpha1 |
0 |
The starting (top) alpha transparency of the gradient fill of a top-level item's background. Possible values: from 0 to 100. |
| |
color2 |
"FFFFFF" |
The ending (bottom) color of the gradient fill of a top-level item's background. |
| |
alpha2 |
0 |
The ending (bottom) alpha transparency of the gradient fill of a top-level item's background. Possible values: from 0 to 100. |
| |
rounded |
"top" |
Specifies which corners of a top-level item's background to be drawn rounded. Possible values: "all", "left", "right", "top", "bottom", "none". |
| backgroundLevel1Rollover |
color |
"242424" |
The background color of a rolled-over top-level item. |
| |
alpha |
100 |
The background transparency of a rolled-over top-level item. Possible values: from 0 to 100. |
| backgroundLevel2 |
color1 |
"242424" |
The starting (top) color of the gradient fill of a pop-up level item's background. |
| |
alpha1 |
100 |
The starting (top) alpha transparency of the gradient fill of a pop-up level item's background. Possible values: from 0 to 100. |
| |
color2 |
"444444" |
The ending (bottom) color of the gradient fill of a pop-up level item's background. |
| |
alpha2 |
100 |
The ending (bottom) alpha transparency of the gradient fill of a pop-up level item's background. Possible values: from 0 to 100. |
| |
rounded |
"all" |
Specifies which corners of a pop-up level item's background to be drawn rounded. Possible values: "all", "top", "bottom", "none". |
| backgroundLevel2Rollover |
color |
"C0CCE3" |
The background color of a rolled-over pop-up level item. |
| |
alpha |
100 |
The background transparency of a rolled-over pop-up level item. Possible values: from 0 to 100. |
| backgroundLevel2Selected |
color |
"747A86" |
The background color of a selected pop-up level item. |
| |
alpha |
100 |
The background transparency of a selected pop-up level item. Possible values: from 0 to 100. |
2. The following table describes the specific attributes you can add to those <item> nodes of the <items> element that correspond to the top-level menu items. This can be useful if you need to apply separate style declaration for each or certain of top-level item and its submenus.
Node name |
Attribute name |
Default |
Description |
| item |
widthL1 |
undefined |
The width of the current top-level item, in pixels. |
| |
widthL2 |
undefined |
The width of the nested second-level submenu, in pixels. |
| |
shiftLeftSlide |
undefined |
The distance (in pixels) between the left edge of the current top-level item and the left edge of its nested second-level submenu in the state when the third-level submenu is opened. |
| |
itemL2Opened |
undefined |
Lets you set the number of the second-level item which nested submenu you want to be in the open state when the pointer rolls over the current top-level item. This can be useful if you want to attract user's attention to a specific menu item and its content. |
| |
fontColorL1 |
undefined |
The text color of the current top-level item. |
| |
fontColorL2 |
undefined |
The text color of a pop-up level item. |
| |
fontColorRolloverL1 |
undefined |
The color of text when the pointer rolls over the current top-level item. |
| |
fontColorRolloverL2 |
undefined |
The color of text when the pointer rolls over a pop-up level item. |
| |
fontColorSelectedL2 |
undefined |
The color of text in the selected pop-up level item. |
| |
fontColorDisabledL1 |
undefined |
The text color of the current top-level item when it is disabled. |
| |
fontColorDisabledL2 |
undefined |
The text color of a pop-up level item when it is disabled. |
| |
bgL1Color1 |
undefined |
The starting (top) color of the gradient fill of the top-level item's background. |
| |
bgL1Color2 |
undefined |
The ending (bottom) color of the gradient fill of the top-level item's background. |
| |
bgL1Alpha1 |
undefined |
The starting (top) alpha transparency of the gradient fill of the top-level item's background. Possible values: from 0 to 100. |
| |
bgL1Alpha2 |
undefined |
The ending (bottom) alpha transparency of the gradient fill of the top-level item's background. Possible values: from 0 to 100. |
| |
bgL1Rounded |
undefined |
Specifies which corners of the top-level item's background to be drawn rounded. Possible values: "all", "left", "right", "top", "bottom", "none". |
| |
bgL1RolloverColor |
undefined |
The background color of the current top-level item when rolled over. |
| |
bgL1RolloverAlpha |
undefined |
The background transparency of the current top-level item when rolled over. Possible values: from 0 to 100. |
| |
bgL2Color1 |
undefined |
The starting (top) color of the gradient fill of a pop-up level item's background. |
| |
bgL2Color2 |
undefined |
The ending (bottom) color of the gradient fill of a pop-up level item's background. |
| |
bgL2Alpha1 |
undefined |
The starting (top) alpha transparency of the gradient fill of a pop-up level item's background. Possible values: from 0 to 100. |
| |
bgL2Alpha2 |
undefined |
The ending (bottom) alpha transparency of the gradient fill of a pop-up level item's background. Possible values: from 0 to 100. |
| |
bgL2Rounded |
undefined |
Specifies which corners of a pop-up level item's background to be drawn rounded. Possible values: "all", "top", "bottom", "none". |
| |
bgL2RolloverColor |
undefined |
The background color of a rolled-over pop-up level item. |
| |
bgL2RolloverAlpha |
undefined |
The background transparency of a rolled-over pop-up level item. Possible values: from 0 to 100. |
| |
bgL2SelectedColor |
undefined |
The background color of a selected pop-up level item. |
| |
bgL2SelectedAlpha |
undefined |
The background transparency of a selected pop-up level item. Possible values: from 0 to 100. |
3. The <items> element can contain an unlimited number of <item> nodes. Each <item> node represents a menu item object and should have one required attribute label. You can also add 5 optional attributes in the <item> node: action, url, target, enabled, fontColor.