Adobe Extending Dreamweaver CS4 Uživatelský manuál Strana 115

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 387
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 114
109
EXTENDING DREAMWEAVER CS4
Insert bar objects
showIf="enabler"
Description
This attribute specifies that this button should appear on the Insert bar only if the given Dreamweaver enabler is a true
value. If you do not specify
showIf, the button always appears. The possible enablers are _SERVERMODEL_ASP,
_SERVERMODEL_ASPNET, _SERVERMODEL_JSP, _SERVERMODEL_CFML (for all versions of Adobe ColdFusion),
_SERVERMODEL_CFML_UD4 (only for UltraDev version 4 of Adobe ColdFusion), _SERVERMODEL_PHP,
_FILE_TEMPLATE, _VIEW_CODE, _VIEW_DESIGN, _VIEW_LAYOUT, _VIEW_EXPANDED_TABLES, and
_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 a button to appear only in Code view for an ASP page, specify the enablers as follows:
showIf="_VIEW_CODE, _SERVERMODEL_ASP"
enabled="enabler"
Description
This attribute specifies that the item is available to the user if the DW_enabler value is true. If you do not specify the
enabled function, the item defaults to always enabled. The possible enablers are _SERVERMODEL_ASP,
_
SERVERMODEL_ASPNET, _SERVERMODEL_JSP, _SERVERMODEL_CFML (for all versions of ColdFusion),
_
SERVERMODEL_CFML_UD4 (only for UltraDev version 4 of ColdFusion), _SERVERMODEL_PHP, _FILE_TEMPLATE,
_VIEW_CODE, _VIEW_DESIGN, _VIEW_LAYOUT, _VIEW_EXPANDED_TABLES, and _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 DW_enabler value is true. The possible enablers are _SERVERMODEL_ASP,
_SERVERMODEL_ASPNET, _SERVERMODEL_JSP, _SERVERMODEL_CFML (for all versions of ColdFusion),
_SERVERMODEL_CFML_UD4 (only for UltraDev version 4 of ColdFusion), _SERVERMODEL_PHP, _FILE_TEMPLATE,
_VIEW_CODE, _VIEW_DESIGN, _VIEW_LAYOUT, _VIEW_EXPANDED_TABLES, and _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"
Zobrazit stránku 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 386 387

Komentáře k této Příručce

Žádné komentáře