MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Especificaciones Pagina 184

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 504
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 183
184 Menus and Menu Commands
showIf Specifies that the menu should appear only if the given Dreamweaver enabler is
the value
true. The possible enablers are: _SERVERMODEL_ASP, _SERVERMODEL_ASPNET,
_SERVERMODEL_JSP, _SERVERMODEL_CFML
(for all versions of Macromedia ColdFusion),
_SERVERMODEL_CFML_UD4 (for UltraDev version 4 of ColdFusion), _SERVERMODEL_PHP,
_FILE_TEMPLATE, _VIEW_CODE, _VIEW_DESIGN, _VIEW_LAYOUT,
_VIEW_EXPANDED_TABLES,
and _VIEW_STANDARD. You can specify multiple enablers by
placing a comma (which means AND) between the enablers. You can specify NOT with
"!". For example, if you want the menu to appear only in Code view for an ASP page,
specify the attribute as
showIf="_VIEW_CODE, _SERVERMODEL_ASP".
Contents
This tag can contain one or more menuitem tags, and one or more separator tags. It can also
contain other
menu tags (to create submenus) and standard HTML comment tags.
Container
This tag must be contained in a menubar tag.
Example
<menu name="_File" id="DWMenu_File">
<!-- menuitem, separator, menu, and comment tags here -->
</menu>
<menuitem>
Description
Defines a menu command for a Dreamweaver menu.
Attributes
name, id, {app}, {key}, {platform}, {enabled}, {arguments}, {command},
{file}, {checked}, {dynamic}, {isdomrequired}, {showIf}
name The menu command name that appears in the menu. An underscore indicates that
the following letter is the commands access key (mnemonic), for Windows only.
id Used by Dreamweaver to identify the item. This ID must be unique throughout the
menu structure. If you add new menu commands to menus.xml, ensure uniqueness by
using your company name or another unique string as a prefix for each menu commands
ID.
app The name of the application in which the menu command is available. Not currently
used.
Vista de pagina 183
1 2 ... 179 180 181 182 183 184 185 186 187 188 189 ... 503 504

Comentarios a estos manuales

Sin comentarios