Code Coloring - Adobe 38040334 - Dreamweaver CS3 User Manual

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Attributes
label, value, icon, datatype
• The
attribute specifies the name to display. This argument is required.
label
• The
attribute specifies value to drop when the item is selected in the code hint menu. This argument is
value
required.
• The
attribute specifies the icon to be used in the code hint menu. This argument is required.
icon
• The
attribute allows you to specify
datatype
added when the user selects a value from the Code Hint menu. This argument is optional.
Contents
None.
Container
The
<optionparammenu>
<property>
Description
This tag describes properties/fields of an object and has the following standard attributes.
Attributes
label, value, icon
• The
attribute is the string that Dreamweaver displays in the pop-up menu.
label
• The
attribute is the string that Dreamweaver inserts in the document when you select the command. When
value
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.
• The
attribute, which is optional, specifies the path to an image file that Dreamweaver displays as an icon to
icon
the left of the menu text. The location is expressed as a URL, relative to the Configuration folder.
Contents
None.
Container
The
tag.
menu

Code coloring

Dreamweaver lets you customize or extend the code coloring schemes that you see in Code view so that you can add
new keywords to a scheme or add code coloring schemes for new document types. If you develop JavaScript
functions to use in your client-side script, for example, you can add the names of these functions to the keywords
section so that they display in the color that is specified in the Preferences dialog box. Likewise, if you develop a new
programming language for an application server and you want to distribute a new document type to help Dream-
weaver users build pages with it, you could add a code coloring scheme for the document type.
string
tag.
, which indicates that closing quotation marks are to be
DREAMWEAVER CS3
43
Extending Dreamweaver

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents