Specifications
640
dom.getShowToolbarIconLabels()
Availability
Dreamweaver MX
Description
Determines whether labels for buttons are visible in the current document window. In the
Dreamweaver 4 workspace, this function operates on the toolbars of the document that is
specified by the DOM. In the Dreamweaver MX workspace, there is only one set of toolbars so
the function operates on that set.
Dreamweaver always shows labels for nonbutton controls, if the labels are defined.
Arguments
None.
Returns
true if labels for buttons are visible in the current document window; false if labels for buttons
are not visible in the current document window.
Example
var dom = dw.getDocumentDom();
if (dom.getShowToolbarIconLabels())
{
dom.setShowToolbarIconLabels(true);
}
Translation functions
Translation functions deal either directly with translators or with the results of translation. These
functions get information about or run a translator, edit content in a locked region, and specify
that the translated source should be used when getting and setting selection offsets.
dom.runTranslator()
Availability
Dreamweaver 3
Description
Runs the specified translator on the document. This function is valid only for the active
document.
Arguments
translatorName
translatorName
is the name of a translator as it appears in the Translation preferences.
Returns
Nothing.
dreamweaver.editLockedRegions()
Availability
Dreamweaver 2