MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 146

Extending dreamweaver
Table of Contents

Advertisement

enabled="enabler"
Description
This attribute specifies that the item is available to the user if the
value is
. If
DW_enabler
true
you do not specify the
function, the item defaults to always enabled. The possible
enabled
enablers are
_SERVERMODEL_ASP, _SERVERMODEL_ASPNET, _SERVERMODEL_JSP,
(for all versions of ColdFusion),
(only for
_SERVERMODEL_CFML
_SERVERMODEL_CFML_UD4
UltraDev version 4 of ColdFusion),
_SERVERMODEL_PHP, _FILE_TEMPLATE, _VIEW_CODE,
and
.
_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 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 checked attribute is required if you use the checkbutton tag.
The item is checked if the
value is
. The possible enablers are
DW_enabler
true
_SERVERMODEL_ASP, _SERVERMODEL_ASPNET, _SERVERMODEL_JSP, _SERVERMODEL_CFML
(for all versions of ColdFusion),
(only for UltraDev version 4 of
_SERVERMODEL_CFML_UD4
ColdFusion),
_SERVERMODEL_PHP, _FILE_TEMPLATE, _VIEW_CODE, _VIEW_DESIGN,
and
.
_VIEW_LAYOUT, _VIEW_EXPANDED_TABLES,
_VIEW_STANDARD
To specify multiple enablers, place a comma (which means AND) between them. To specify
NOT, use an exclamation point (
).
!
Example
checked="_View_Layout"
command="API_function"
Description
Instead of referring Dreamweaver to an HTML file that contains the code to insert, you use
this tag to specify a command that Dreamweaver performs when the button is clicked.
146
Insert Bar Objects

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents