showIf="enabler"
Description
This attribute specifies that this button should appear on the Insert bar only if the given
Dreamweaver enabler is a
The possible enablers are
_SERVERMODEL_CFML
UltraDev version 4 of ColdFusion),
_VIEW_DESIGN, _VIEW_LAYOUT, _VIEW_EXPANDED_TABLES,
You can specify multiple enablers by placing a comma (which means AND) between the enablers.
You can specify NOT with
Example
If you want a button to appear only in Code view for an ASP page, specify the enablers as
showIf="_VIEW_CODE, _SERVERMODEL_ASP".
enabled="enabler"
Description
This attribute specifies that the item is available to the user if the
you do not specify the
enablers are
_SERVERMODEL_ASP, _SERVERMODEL_ASPNET, _SERVERMODEL_JSP,
_SERVERMODEL_CFML
UltraDev version 4 of ColdFusion),
_VIEW_DESIGN, _VIEW_LAYOUT, _VIEW_EXPANDED_TABLES,
You can specify multiple enablers by placing a comma (which means AND) between the enablers.
You can specify NOT with
Example
If you want the button to be available only in Code view, specify
the button will be dimmed in other views.
checked="enabler"
Description
The checked attribute is required if you use the checkbutton tag.
The item is checked if the
_SERVERMODEL_ASP, _SERVERMODEL_ASPNET, _SERVERMODEL_JSP, _SERVERMODEL_CFML
all versions of ColdFusion),
ColdFusion),
_SERVERMODEL_PHP, _FILE_TEMPLATE, _VIEW_CODE, _VIEW_DESIGN,
_VIEW_LAYOUT, _VIEW_EXPANDED_TABLES,
You can specify multiple enablers by placing a comma (which means AND) between them. You
can specify NOT with
Example
checked="_View_Layout"
118
Chapter 6: Insert Bar Objects
value. If you do not specify
true
_SERVERMODEL_ASP, _SERVERMODEL_ASPNET, _SERVERMODEL_JSP,
(for all versions of ColdFusion),
_SERVERMODEL_PHP, _FILE_TEMPLATE, _VIEW_CODE,
"!".
function, the item defaults to always enabled. The possible
enabled
(for all versions of ColdFusion),
_SERVERMODEL_PHP, _FILE_TEMPLATE, _VIEW_CODE,
.
"!"
value is
DW_enabler
_SERVERMODEL_CFML_UD4
.
"!"
, the button always appears.
showIf
_SERVERMODEL_CFML_UD4
and
DW_enabler
_SERVERMODEL_CFML_UD4
and
enabled="_VIEW_CODE",
. The possible enablers are
true
(only for UltraDev version 4 of
and
_VIEW_STANDARD
(only for
.
_VIEW_STANDARD
value is
true
(only for
.
_VIEW_STANDARD
.
. If
and
(for
Need help?
Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers