Adobe 38040334 - Dreamweaver CS3 User Manual page 177

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

Advertisement

Arguments
bShow
• The
argument is a Boolean value:
bShow
Returns
Nothing.
Example
The following example tells Dreamweaver to show the labels for the buttons on the toolbars:
dom.setShowToolbarIconLabels(true);
dom.setToolbarPosition()
Availability
Dreamweaver MX.
Description
This function moves the specified toolbar to the specified position.
Note: There is no way to determine the current position of a toolbar.
Arguments
toobar_id, position, relative_to
• The
argument is the ID of the toolbar, which is the value of the ID attribute on the toolbar tag in the
toolbar_id
toolbars.xml file.
• The
argument specifies where Dreamweaver positions the toolbar, relative to other toolbars. The
position
possible values for
position
is the default position. The toolbar appears at the top of the document window.
top
makes the toolbar appear at the beginning of the row immediately below the toolbar that
below
specifies. Dreamweaver reports an error if the toolbar does not find the toolbar that
makes the toolbar float above the document. Dreamweaver automatically places the toolbar so it is
floating
offset from other floating toolbars. On the Macintosh,
relative_to="toolbar_id"
of the toolbar below which this toolbar should be positioned.
Returns
Nothing.
Example
The following example sets the position of myEditbar below the myPicturebar toolbar:
dom.setToolbarPosition("myEditbar", "below", "myPicturebar");
dom.setToolbarVisibility()
Availability
Dreamweaver MX.
shows the labels for buttons;
true
are described in the following list:
floating
is required if
specifies
position
otherwise.
false
relative_to
is treated the same way as
. Otherwise, it is ignored. Specifies the ID
below
DREAMWEAVER CS3
API Reference
relative_to
specifies.
.
top
172

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents