The Menu, reloaded

FX Documentation
Page-Integration
Menu hierarchy
Group behaviour
Group style settings
Group main settings
Item behaviour
Item style settings
Indicator settings
MSIE effects
Positioning the menu
Adding items and submenus
FX Web Menus Examples
FX DHTML Menu Example
Horizontal Web Menu
Windows 98 Example
Windows XP Example
Relative Positioning
Hiding Form Elements
Hiding Flash animations

Group style settings v3.0.x

Group Screenshot: Borders and GapBetweenItems

Example group style array:

var groupstyle=[ 0, '', '#000000', 0, 0, 0, 0, 0, 0, '', '#000000', 1, 1, 1, 1, 1, 0, 1, 1, 0, 0 ]

Example group style array with property names:


Editing the item style for a FX DHTML menu is similar to defining css for HTML-pages. Think of it as plain text.
var groupstyle=[
0,   //GroupBorderImageActive
'',  //GroupBorderImageSrc
'#000000',//GroupBorderColorOff
0,  //GroupBorderWidth
0,  //GroupBorderLeft
0,  //GroupBorderTop
0,  //GroupBorderRight
0,  //GroupBorderBottom
0,  //GroupInnerBorderImageActive
'', //GroupInnerBorderImageSrc
'#000000',//GroupInnerBorderColorOff
1,  //GroupInnerBorderWidth
1,  //GroupInnerBorderLeft
1,  //GroupInnerBorderTop
1,  //GroupInnerBorderRight
1,  //GroupInnerBorderBottom
0,  //AllowMenuWidthHeightDisaster
1,  //UseDifferentWidthsForMenu
1,  //UseDifferentHeightsForMenu
0,  //Group3DEffect
0   //GapBetweenItems
]

Properties

PosPropertyDescriptionExampleValues
0GroupBorderImageActiveActivates a background-image, that is defined in GroupBorderImageSrc boolean: true(1) or false(0)
1GroupBorderImageSrcEnter background-image path for the GroupBorder here. Important: Image-path has to be relative to the HTML-page, where the menu will be displayed and not relative to the js-file! Instead of "\" use "/".'images/flowerbackground.gif' 
2GroupBorderColorOff   
3GroupBorderWidthUnit: pixel. Only edit GroupBorderWidth for a Group3DEffect-width. Instead use left, top, right and bottom below. If Group3DEffect is set to false, GroupBorderWidth is ignored.2positive integer number
4GroupBorderLeftUnit: pixel.2positive integer number
5GroupBorderTopUnit: pixel.0positive integer number
6GroupBorderRightUnit: pixel.4positive integer number
7GroupBorderBottomUnit: pixel.0positive integer number
8GroupInnerBorderImageActiveActivates a background-image, that is defined in GroupInnerBorderImageSrc. boolean: true(1) or false(0)
9GroupInnerBorderImageSrcEnter background-image path for the GroupInnerBorder here. Important: Image-path has to be relative to the HTML-page, where the menu will be displayed and not relative to the js-file! Instead of "\" use "/".'images/flowerbackground.gif' 
10GroupInnerBorderColorOff   
11GroupInnerBorderWidthUnit: pixel.2positive integer number
12GroupInnerBorderLeftUnit: pixel.6positive integer number
13GroupInnerBorderTopUnit: pixel.1positive integer number
14GroupInnerBorderRightUnit: pixel.0positive integer number
15GroupInnerBorderBottomUnit: pixel.0positive integer number
16AllowMenuWidthHeightDisasterOnly experienced users should set AllowMenuWidthHeightDisaster to true(1). Allows to set items with different heights in a horizontal group and different widths in a vertical group.
In the standard-settings AllowMenuWidthHeightDisaster is false: For a vertical group UseDifferentWidthsForMenu is automatically set to true and UseDifferentHeightsForMenu to false.
0boolean: true(1) or false(0)
17UseDifferentWidthsForMenuFor experienced users. Only edit, if AllowMenuWidthHeightDisaster is true(1). 0boolean: true(1) or false(0)
18UseDifferentHeightsForMenuFor experienced users. Only edit, if AllowMenuWidthHeightDisaster is true(1). 0boolean: true(1) or false(0)
19Group3DEffectCreates a 3D-effect for a group. Width of the 3D-effect is GroupBorderWidth. ItemBorderColor and ItemInnerBorderColor should have different values. boolean: true(1) or false(0)
20GapBetweenItemsUnit: pixel. Background-Color is GroupInnerBgColorOff.3positive integer number
Home | Forum | Link to us
FXsinus.com - Austria.
Vor der Bruck 15,
A-2770 Goodstone
 © Copyright 2001-2004 © FXsinus.com, All Rights Reserved. webmaster@fxsinus.com