MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Manual do Utilizador Página 27

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 28
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 26
Customizing Macromedia Dreamweaver MX 27
How custom tags appear in the Design view
How custom tags appear in the Design view of the Document window depends on the values of
the
tag_type and render_contents attributes of the tagspec tag. (See “Customizing the
interpretation of third-party tags” on page 23.) If the value of
tag_type is "empty", the icon
specified in the icon attribute appears. If the value of tag_type is "nonempty" but the value of
render_contents is "false", the icon appears as it would for an empty tag. For example, an
instance of the
happy tag defined earlier might appear in the HTML like this:
<p>This is a paragraph that includes an instance of the <code>happy</code>
tag (<happy>Joe</happy>).</p>
That paragraph might appear in the Design view like this.
Note that since
render_contents is set to "false" in the tag specification, the contents of the
happy tag (the word Joe) are not rendered; instead the start and end tags and their contents are
displayed as a single icon.
For nonempty tags that have a
render_contents value of "true", the icon does not appear in
the Design view; instead, the contents between the opening and closing tags (such as the text
between the tags in
<mytag>This is the contents between the opening and closing
tags</mytag>
) appears. If View > Invisible Elements is enabled, the content is highlighted using
the third-party tag color specified in Highlighting preferences. (Note that highlighting applies
only to tags defined in tag database files.)
To change the highlighting color of third-party tags:
1 Choose Edit > Preferences and select the Highlighting category.
2 Click the Third-Party Tags color box to display the color picker.
3 Choose a color, and then click OK to close the Preferences dialog box. For information about
choosing a color, see Dreamweaver Help.
Avoiding rewriting third-party tags
Dreamweaver corrects certain kinds of errors in HTML code (for details, see Dreamweaver Help).
By default, Dreamweaver refrains from changing HTML in files with certain filename extensions,
including .asp (ASP), .cfm (ColdFusion), .jsp (JSP), and .php (PHP). This default is set so that
Dreamweaver wont accidentally modify the code contained in any such non-HTML tags. You
can change the Dreamweaver default rewriting behavior so that it rewrites HTML when it opens
such files, and you can add other file types to the list of types that Dreamweaver doesnt rewrite.
Note that Dreamweaver encodes certain special characters (by replacing them with numerical
values) when you enter them in the Property inspector. Its usually best to let Dreamweaver
perform this encoding, because the special characters will be more likely to display correctly across
platforms and browsers. However, because such encoding may interfere with third-party tags, you
may want to change the Dreamweaver encoding behavior when youre working with files
containing third-party tags.
Vista de página 26
1 2 ... 22 23 24 25 26 27 28

Comentários a estes Manuais

Sem comentários

Fisher-Price DORA THE EXPLORER T6197 podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Motocykle Fisher-Price DORA THE EXPLORER T6197.
Dostarczamy 1 pdf podręczników Fisher-Price DORA THE EXPLORER T6197 do pobrania za darmo według typów dokumentów: Instrukcja Użytkownika






Więcej produktów i instrukcji dla Motocykle Fisher-Price

Modele Rodzaj dokumentu
HARLEY-DAVIDSON 74370 Instrukcja Użytkownika   Fisher-Price HARLEY-DAVIDSON 74370 User Manual, 36 strony