Adobe 38040334 - Dreamweaver CS3 User Manual page 174

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

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
to turn off all toolbars so you can reposition them and make only a specific set visible.
dArray()
Arguments
None.
Returns
An array of all toolbar IDs.
Example
The following example stores the array of toolbar IDs in the
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
argument is a string that specifies the ID of the toolbar that contains the item for which you want
toolbarID
a value.
• The
argument is a string that specifies the ID of the item for which you want the value.
itemID
Returns
A string that represents the value of the toolbar item.
variable:
tb_ids
DREAMWEAVER CS3
API Reference
dom.getToolbarI-
169

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents