Adobe 38040334 - Dreamweaver CS3 User Manual page 110

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

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
true
_SERVERMODEL_ASPNET, _SERVERMODEL_JSP, _SERVERMODEL_CFML
ColdFusion),
_SERVERMODEL_CFML_UD4
_FILE_TEMPLATE, _VIEW_CODE, _VIEW_DESIGN, _VIEW_LAYOUT, _VIEW_EXPANDED_TABLES,
.
_VIEW_STANDARD
To specify multiple enablers, place a comma (which means AND) between the enablers. To specify NOT, use
exclamation point (
).
!
Example
If you want a button to appear only in Code view for an ASP page, specify the enablers as follows:
_
_
_
showIf="
VIEW
CODE,
enabled="enabler"
Description
This attribute specifies that the item is available to the user if the
function, the item defaults to always enabled. The possible enablers are
enabled
_
_
SERVERMODEL
ASPNET,
_
_
_
SERVERMODEL
CFML
UD4
_
_
_
_
VIEW
CODE,
VIEW
DESIGN,
To specify multiple enablers, place a comma (which means AND) between the enablers. To specify NOT, use an
exclamation point (
).
!
Example
If you want the button to be available only in Code view, specify the following:
enabled="_VIEW_CODE"
This dims the button in other views.
checked="enabler"
Description
The
attribute is required if you use the
checked
The item is checked if the
DW_enabler
_SERVERMODEL_ASPNET, _SERVERMODEL_JSP, _SERVERMODEL_CFML
_SERVERMODEL_CFML_UD4
_VIEW_CODE, _VIEW_DESIGN, _VIEW_LAYOUT, _VIEW_EXPANDED_TABLES,
To specify multiple enablers, place a comma (which means AND) between them. To specify NOT, use an excla-
mation point (
).
!
, the button always appears. The possible enablers are
showIf
(only for UltraDev version 4 of ColdFusion),
_
SERVERMODEL
ASP"
_
_
_
SERVERMODEL
JSP,
SERVERMODEL
(only for UltraDev version 4 of ColdFusion),
_
_
_
VIEW
LAYOUT,
VIEW
checkbutton
value is
. The possible enablers are
true
(only for UltraDev version 4 of ColdFusion),
(for all versions of Macromedia
value is
DW_enabler
_
SERVERMODEL_ASP,
_
(for all versions of ColdFusion),
CFML
_
SERVERMODEL
_
_
and
EXPANDED
TABLES,
tag.
_SERVERMODEL_ASP,
(for all versions of ColdFusion),
_SERVERMODEL_PHP, _FILE_TEMPLATE,
and
DREAMWEAVER CS3
Extending Dreamweaver
_SERVERMODEL_ASP,
_SERVERMODEL_PHP,
and
an
. If you do not specify the
true
_
_
_
PHP,
FILE
TEMPLATE,
_
_
.
VIEW
STANDARD
.
_VIEW_STANDARD
104

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents