addItem(panel,item)
add item to menu
Topic(s): Add/delete;
File required:dhtmlXMenuBar.js
item - item objectpanel - menu panel objectdisableItem(itemId)
disable menu button
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item idenableIESelectBoxFix(mode)
fix z-index problem with select boxes in IE, enabled by default
Topic(s): Initialization;
File required:dhtmlXMenuBar.js
mode - enable/disableenableItem(itemId)
enable menu button
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item idenableWindowOpenMode(mode)
closed menu behaviour
Topic(s): Initialization;
File required:dhtmlXMenuBar.js
mode - enable/disablegetItem(itemId)
return item object by id
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item idgetPanel(panelId)
return menu panel object
Topic(s): Item control;
File required:dhtmlXMenuBar.js
panelId - id of panel related menu itemhideBar()
hide menu
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
hideButtons(idList)
hide menu buttons
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
idList - list of items's ids, separated by commahideItem(itemId)
hide menu button
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item idloadXML(file)
load XML from file
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
file - file nameloadXMLString(xmlString)
load XML from string
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
xmlString - string contining XMLremoveItem(id)
remove item
Topic(s): Add/delete;
File required:dhtmlXMenuBar.js
id - item idresetBar(idList)
hide all items, show only items which ids in list
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
idList - list of id's, separated by commasetBarAlign(align)
set menu buttons alignment (allowed - 'left','center','right','top','middle','bottom')
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
align - buttons alignmentsetBarSize(width,height)
set menu size
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
width - menu widthheight - menu heightsetGfxPath(path)
set path to system images
Topic(s): Action handling;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
path - relative path to imagessetItemAction(id,action)
set item individual action
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
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
Topic(s): Initialization;
File required:dhtmlXMenuBar.js
modeValue - name of designsetOnClickHandler(func)
set default action
Topic(s): Action handling;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
action - set default actionsetOnHideHandler(func)
set action hadler on menu hiding
Topic(s): Action handling;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
func - user defined functionsetOnShowHandler(func)
set action hadler on menu showing
Topic(s): Action handling;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
func - user defined functionsetTitleText(newText)
set menu tittle
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
name - new tittle, shown on menushowBar()
show menu
Topic(s): Initialization;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
showButtons(idList)
show menu buttons
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
idList - list of items's ids, separated by commashowItem(id)
show menu button
Topic(s): Item control;
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
id - item iddisable()
disable object
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
enable()
enable object
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
setAction(func)
set default action, action function take one parametr - item id
Topic(s): Action handling;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js functionsetAltText(imageText)
set alt text of button image
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageText - new alt image textsetHTML(htmlText)
set innerHTML of button
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
htmlText - new textsetImage(imageSrc,disabledImageSrc)
set image href
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageSrc - new image hrefdisabledImageSrc - new image hrefsetSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
Topic(s): Action handling;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js functiondisable()
disable object
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
enable()
enable object
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
setAction(func)
set default action, action function take one parametr - item id
Topic(s): Action handling;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js functionsetAltText(imageText)
set alt text of button image
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageText - new alt image textsetHTML(htmlText)
set innerHTML of button
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
htmlText - new textsetImage(imageSrc,disabledImageSrc)
set image href
Topic(s): Item control;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageSrc - new image hrefdisabledImageSrc - new image hrefsetSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
Topic(s): Action handling;
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js function