image="image_path"
Description
This attribute specifies the path, relative to the Dreamweaver Configuration folder, to the
icon file that appears on the Insert bar. The icon can be in any format that Dreamweaver can
render, but typically it is in GIF or JPEG file format, with a size of 18 x 18 pixels.
Example
image="Common/table.gif"
canDrag="Boolean"
Description
This attribute specifies whether the user can drag the icon into the code or workspace to insert
the object into a document. If omitted, the default value is
.
true
Example
canDrag="false"
showIf="enabler"
Description
This attribute specifies that this button should appear on the Insert bar only if the given
Dreamweaver enabler is a
value. If you do not specify
, the button always
true
showIf
appears. The possible enablers are
_SERVERMODEL_ASP, _SERVERMODEL_ASPNET,
(for all versions of Macromedia ColdFusion),
_SERVERMODEL_JSP, _SERVERMODEL_CFML
(only for UltraDev version 4 of ColdFusion),
_SERVERMODEL_CFML_UD4
_SERVERMODEL_PHP,
_FILE_TEMPLATE, _VIEW_CODE, _VIEW_DESIGN, _VIEW_LAYOUT,
.
and
_VIEW_EXPANDED_TABLES,
_VIEW_STANDARD
To specify multiple enablers, place a comma (which means AND) between the enablers. To
specify NOT, use
exclamation point (
).
an
!
Example
If you want a button to appear only in Code view for an ASP page, specify the enablers as
follows:
showIf="_VIEW_CODE, _SERVERMODEL_ASP"
The Insert bar definition file
145
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers