Adobe 38040334 API Reference - Page 174
dom.getToolbarIdArray, dom.getToolbarItemValue
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 174 highlights
DREAMWEAVER CS3 169 API Reference Example The following example makes labels for buttons visible: var dom = dw.getDocumentDom(); if (dom.getShowToolbarIconLabels() == false) { dom.setShowToolbarIconLabels(true); } dom.getToolbarIdArray() Availability Dreamweaver MX. Description This function returns an array of the IDs of all the toolbars in the application. You can use dom.getToolbarIdArray() to turn off all toolbars so you can reposition them and make only a specific set visible. Arguments None. Returns An array of all toolbar IDs. Example The following example stores the array of toolbar IDs in the tb_ids variable: var tb_ids = new Array(); tb_ids = dom.getToolbarIdArray(); dom.getToolbarItemValue() Availability Dreamweaver MX 2004. Description Gets the value of the specified toolbar item. Arguments toolbarID, itemID • The toolbarID argument is a string that specifies the ID of the toolbar that contains the item for which you want a value. • The itemID argument is a string that specifies the ID of the item for which you want the value. Returns A string that represents the value of the toolbar item.