MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Especificações Página 60

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 504
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 59
60 Customizing Code View
The casesensitive attribute specifies whether the pattern is case-sensitive. The possible
values for the
casesensitive attribute are true, false, or a subset of the comma-
separated list that you specify for the
doctypes attribute. The list of document types lets
you specify that the pattern is case-sensitive for some document types but not for others.
The value defaults to
false if you omit this attribute. If the casesensitive attribute is a
value of
true, the Code Hints menu will open only if the text that the user types exactly
matches the pattern that the pattern attribute specifies. If the
casesensitive attribute is
a value of
false, the menu appears even if the pattern is lowercase and the text is
uppercase.
Contents
The menuitem tag.
Container
The menugroup tag.
Example
<menu pattern="CGI." doctypes="ColdFusion">
<menuitem>
Description
This tag specifies the text for an item in a Code Hints pop-up menu. The menuitem tag also
specifies the value to insert into the text when you select the item.
Attributes
label, value {icon}, {texticon}
The label attribute is the string that Dreamweaver displays in the pop-up menu.
The value attribute is the string that Dreamweaver inserts in the document when you
select the menu item. When the user selects the item from the menu and presses Enter or
Return, Dreamweaver replaces all the text that the user typed since the menu opened. The
user typed the pattern-matching characters before the menu opened, so Dreamweaver
does not insert them again. For example, if you want to insert
&amp, which is the HTML
entity for ampersand (&), you can define the following
menu and menuitem tags:
<menu pattern="&amp;">
<menuitem label="&amp;amp;" value="amp;" texticon="&amp;"/>
The value attribute does not include the ampersand (&) character because the user typed
it before the menu opened.
Vista de página 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 503 504

Comentários a estes Manuais

Sem comentários