Initialization
enableIESelectBoxFix(mode)
fix z-index problem with select boxes in IE, enabled by default
File required:dhtmlXMenuBar.js
mode - enable/disable enableWindowOpenMode(mode)
closed menu behaviour
File required:dhtmlXMenuBar.js
mode - enable/disable hideBar()
hide menu
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
loadXML(file)
load XML from file
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
file - file name loadXMLString(xmlString)
load XML from string
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
xmlString - string contining XML setBarAlign(align)
set menu buttons alignment (allowed - 'left','center','right','top','middle','bottom')
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
align - buttons alignment setBarSize(width,height)
set menu size
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
width - menu widthheight - menu height setMenuMode(modeValue)
set menu design
File required:dhtmlXMenuBar.js
modeValue - name of design setTitleText(newText)
set menu tittle
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
name - new tittle, shown on menu showBar()
show menu
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
Add/delete
addItem(panel,item)
add item to menu
File required:dhtmlXMenuBar.js
item - item objectpanel - menu panel object removeItem(id)
remove item
File required:dhtmlXMenuBar.js
id - item id Action handling
setGfxPath(path)
set path to system images
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
path - relative path to images setItemAction(id,action)
set item individual action
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
id - item identificatoraction - js function called on item selection setOnClickHandler(func)
set default action
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
action - set default action setOnHideHandler(func)
set action hadler on menu hiding
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
func - user defined function setOnShowHandler(func)
set action hadler on menu showing
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
func - user defined function Item control
disableItem(itemId)
disable menu button
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item id enableItem(itemId)
enable menu button
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item id getItem(itemId)
return item object by id
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item id getPanel(panelId)
return menu panel object
File required:dhtmlXMenuBar.js
panelId - id of panel related menu item hideButtons(idList)
hide menu buttons
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
idList - list of items's ids, separated by comma hideItem(itemId)
hide menu button
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
itemId - item id resetBar(idList)
hide all items, show only items which ids in list
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
idList - list of id's, separated by comma setMenuCSS(table,title,secTable)
set menu css classes
File required:dhtmlXMenuBar.js
table - css class for menu containersecTable - css class for child menu containerstitle - css class for toolbar title showButtons(idList)
show menu buttons
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
idList - list of items's ids, separated by comma showItem(id)
show menu button
Nested from:dhtmlXProtobarObject
File required:dhtmlXProtobar.js
id - item id Action handling
setAction(func)
set default action, action function take one parametr - item id
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js function setSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js function Item control
disable()
disable object
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
enable()
enable object
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
setAltText(imageText)
set alt text of button image
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageText - new alt image text setHTML(htmlText)
set innerHTML of button
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
htmlText - new text setImage(imageSrc,disabledImageSrc)
set image href
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageSrc - new image hrefdisabledImageSrc - new image href Action handling
setAction(func)
set default action, action function take one parametr - item id
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js function setSecondAction(func)
set personal onClick action (action must return false for preventing calling default action after personal), action function take one parametr - item id
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
func - js function Item control
disable()
disable object
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
enable()
enable object
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
setAltText(imageText)
set alt text of button image
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageText - new alt image text setHTML(htmlText)
set innerHTML of button
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
htmlText - new text setImage(imageSrc,disabledImageSrc)
set image href
Nested from:dhtmlXButtonPrototypeObject
File required:dhtmlXProtobar.js
imageSrc - new image hrefdisabledImageSrc - new image href