MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 225

Dreamweaver api reference
Table of Contents

Advertisement

dom.getToolbarLabel()
Availability
Dreamweaver MX.
Description
This function obtains the label of the specified toolbar. You can use
for menus that show or hide toolbars.
Arguments
toolbar_id
The
toolbar_id
on the toolbar tag in the toolbars.xml file.
Returns
The
name string that is assigned as an attribute on the
label
Example
The following example stores the label for
var label = dom.getToolbarLabel("myEditbar");
dom.getToolbarVisibility()
Availability
Dreamweaver MX.
Description
This function returns a Boolean value that indicates whether the toolbar that is specified by
is visible.
toolbar_id
Arguments
toolbar_id
The
toolbar_id
Returns
A Boolean value:
true
exist.
argument is the ID of the toolbar, which is the value of the ID attribute
argument is the ID string that is assigned to the toolbar.
if the toolbar is visible,
toolbar
in the variable
myEditbar
if the toolbar is not visible or does not
false
dom.getToolbarLabel()
tag.
:
label
Toolbar functions
225

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents