just top element of XML, can contain a LOT of attributes
but in real life you most probably will not anything here
Optional attributes
mode - mode of submenu
menuAlign - align of menu items
maxItems - scrolling limit
absolutePosition - mode of menu positioning
left - absolute left position
top - absolute top position
name - label on menu bar
width - width of menu
height - height of menu
imageTextButtonCssClass - css for image of menu item
globalTextCss - css for text of menu item
globalSecondCss - css for menu item on second level
globalCss - css for menu item on first level
withoutImages - menu without images
mixedImages - menu with fixed images
type - type of visual styling
mode of menu, there are for possible values, only two has practical sense
classic
popup
alfa
betta
align of menu items, inside menu
right
left
count of menu items after which submenu enable inner scroll
if this attribute present , menu postion will be changed to absolute
( in 99.9% of cases you will NOT need it)
if absolute position enabled, this attribute can specify top coordinate of menu
if absolute position enabled, this attribute can specify left coordinate of menu
optional text on menu bar
width of menu bar ( optional, by default value from js command used )
height of menu bar ( optional, by default value from js command used )
css class which will be applied to image inside menu item
css class which will be applied to text inside menu item
css which will be applied to menu items on second and next levels of menu
css which will be applied to menu items on first level of menu
if attribute set - items in menu will be rendered without images
if attribute set - items in menu will be rendered with or without images ( in any case place for image will be preserved )
visual rendering type, mystic attribute, can have next values
a1,a2,a3,b1,b2,b3
menu divider
Optional attributes
id - item identificator
item identificator, not really necessary , but can be used for manipulation by JS API
tag represent item of menu hierarchy
can contain multiple attributes, but only few of them really necessary, most are optional
Mandatory attributes
id - identificator of menu item
Common attributes
name - label of menu item
src - source of image used inside menu item
href - url used in auto-link mode
Rare used attributes
width - width of menu item
panelWidth - width of menu sub panel
mode - mode of sub-panel
withoutImages - menu without images
mixedImages - menu with fixed images
src2 - url of second image
imageSize - size of image
target - target of href
className - css class
textClassName - css class for text
tooltip - tooltip of item
disabled - item initially disabled
disableImage - src used for item image in disabled state
submenu - url for additional data fetching
id of menu item
must be unique per menu
label of menu item, can contain HTML tags
url to image used inside menu item ( the image itself optional )
menu can work in auto-link mode, if "href" attribute present - selecting it will automatically open page defined by href attribute
width of menu items ( in pixels )
width of sub-items panel ( if any sub-items exist )
mode of sub-menu, effect equal to the same attribute of menu tag
if attribute set - items in sub-menu will be rendered without images
if attribute set - items in sub-menu will be rendered with or without images ( in any case place for image will be preserved )
one more mystic thing
this attribute allows to second image url, in such case menu item will have two (!) images
pretty unsure why it necessary
allows to set custom size of image inside menu item
in auto-link mode, with attribute used to point how link must be opened
_blank by default
css class which will be applied to container of menu item
css class which will be applied to text of menu item
tooltip of item, the item label used by default
if attribute exists, item will be rendered in disabled state ( can be enabled later, by js API )
in disabled state menu item change its css class , so it possible to define custom disabled effect,
if it is not enough, it possible to define one more image which will be used in disabled state
this attribute allow to organize dynamical loading of menu items, if it present, then on sub-menu opening
request will be sent to server , to retrieve additional data
value of attribute used as url of server side script, which must send additional data.