addItem(panel,item)
add item to menu
Object: dhtmlXMenuBarObject
Topic(s): Add/delete;
File required:dhtmlXMenuBar.js
item - item objectpanel - menu panel objectdisable()
disable object
Object: dhtmlXMenuDividerYObject
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
disable()
disable object
Object: dhtmlXMenuDividerXObject
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
disableItem(itemId)
disable menu button
Object: dhtmlXMenuBarObject
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item idenable()
enable object
Object: dhtmlXMenuDividerYObject
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
enable()
enable object
Object: dhtmlXMenuDividerXObject
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
enableIESelectBoxFix(mode)
fix z-index problem with select boxes in IE, enabled by default
Object: dhtmlXMenuBarObject
Topic(s): Initialization;
File required:dhtmlXMenuBar.js
mode - enable/disableenableItem(itemId)
enable menu button
Object: dhtmlXMenuBarObject
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item idenableWindowOpenMode(mode)
closed menu behaviour
Object: dhtmlXMenuBarObject
Topic(s): Initialization;
File required:dhtmlXMenuBar.js
mode - enable/disablegetItem(itemId)
return item object by id
Object: dhtmlXMenuBarObject
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item idgetPanel(panelId)
return menu panel object
Object: dhtmlXMenuBarObject
Topic(s): Item control;
File required:dhtmlXMenuBar.js
panelId - id of panel related menu itemhideBar()
hide menu
Object: dhtmlXMenuBarObject
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
hideButtons(idList)
hide menu buttons
Object: dhtmlXMenuBarObject
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
idList - list of items's ids, separated by commahideItem(itemId)
hide menu button
Object: dhtmlXMenuBarObject
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item idloadXML(file)
load XML from file
Object: dhtmlXMenuBarObject
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
file - file nameloadXMLString(xmlString)
load XML from string
Object: dhtmlXMenuBarObject
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
xmlString - string contining XMLremoveItem(id)
remove item
Object: dhtmlXMenuBarObject
Topic(s): Add/delete;
File required:dhtmlXMenuBar.js
id - item idresetBar(idList)
hide all items, show only items which ids in list
Object: dhtmlXMenuBarObject
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
idList - list of id's, separated by commasetAction(func)
set default action, action function take one parametr - item id
Object: dhtmlXMenuDividerYObject
Topic(s): Action handling;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js functionsetAction(func)
set default action, action function take one parametr - item id
Object: dhtmlXMenuDividerXObject
Topic(s): Action handling;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js functionsetAltText(imageText)
set alt text of button image
Object: dhtmlXMenuDividerYObject
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageText - new alt image textsetAltText(imageText)
set alt text of button image
Object: dhtmlXMenuDividerXObject
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageText - new alt image textsetBarAlign(align)
set menu buttons alignment (allowed - 'left','center','right','top','middle','bottom')
Object: dhtmlXMenuBarObject
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
align - buttons alignmentsetBarSize(width,height)
set menu size
Object: dhtmlXMenuBarObject
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
width - menu widthheight - menu heightsetContextMenuHandler(func)
set onClick context menu handler
Object: dhtmlXContextMenuObject
Topic(s): Initialization;
File required:dhtmlXMenuBar_cp.js
func - user defined functionsetContextZone(htmlObject,zoneId)
set context zones
Object: dhtmlXContextMenuObject
Topic(s): Initialization;
File required:dhtmlXMenuBar_cp.js
htmlObject - id of html tag or html objectzoneId - id of zonesetGfxPath(path)
set path to system images
Object: dhtmlXMenuBarObject
Topic(s): Action handling;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
path - relative path to imagessetHTML(htmlText)
set innerHTML of button
Object: dhtmlXMenuDividerYObject
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
htmlText - new textsetHTML(htmlText)
set innerHTML of button
Object: dhtmlXMenuDividerXObject
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
htmlText - new textsetImage(imageSrc,disabledImageSrc)
set image href
Object: dhtmlXMenuDividerYObject
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageSrc - new image hrefdisabledImageSrc - new image hrefsetImage(imageSrc,disabledImageSrc)
set image href
Object: dhtmlXMenuDividerXObject
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageSrc - new image hrefdisabledImageSrc - new image hrefsetItemAction(id,action)
set item individual action
Object: dhtmlXMenuBarObject
Topic(s): Action handling;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
id - item identificatoraction - js function called on item selectionsetMenuCSS(table,title,secTable)
set menu css classes
Object: dhtmlXMenuBarObject
Topic(s): Item control;
File required:dhtmlXMenuBar.js
table - css class for menu containersecTable - css class for child menu containerstitle - css class for toolbar titlesetMenuMode(modeValue)
set menu design
Object: dhtmlXMenuBarObject
Topic(s): Initialization;
File required:dhtmlXMenuBar.js
modeValue - name of designsetOnClickHandler(func)
set default action
Object: dhtmlXMenuBarObject
Topic(s): Action handling;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
action - set default actionsetOnHideHandler(func)
set action hadler on menu hiding
Object: dhtmlXMenuBarObject
Topic(s): Action handling;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
func - user defined functionsetOnShowHandler(func)
set action hadler on menu showing
Object: dhtmlXMenuBarObject
Topic(s): Action handling;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
func - user defined functionsetSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
Object: dhtmlXMenuDividerYObject
Topic(s): Action handling;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js functionsetSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
Object: dhtmlXMenuDividerXObject
Topic(s): Action handling;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js functionsetText(newText)
set button text
Object: dhtmlXMenuItemObject
Topic(s): Item control;
File required:dhtmlXMenuBar.js
newText - new text [ HTML allowed ]setTitleText(newText)
set menu tittle
Object: dhtmlXMenuBarObject
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
name - new tittle, shown on menushowBar()
show menu
Object: dhtmlXMenuBarObject
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
showButtons(idList)
show menu buttons
Object: dhtmlXMenuBarObject
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
idList - list of items's ids, separated by commashowItem(id)
show menu button
Object: dhtmlXMenuBarObject
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
id - item id