Adobe 38040334 - Dreamweaver CS3 User Manual page 45

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

Advertisement

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. For example, if you want to insert
ampersand (&), you can define the following
<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.
• 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.
• The
attribute, which is optional, specifies a text string to appear in the icon area instead of an image file.
texticon
This attribute is used for the HTML Entities menu.
Contents
None.
Container
The
tag.
menu
Example
<menuitem label="CONTENT
" icon="shared/mm/images/hintMisc.gif" />
<function>
Description
Used in the CodeHints.xml file. This tag replaces the menu tag for specifying function arguments and object
methods for a Code Hints pop-up menu. When you type a function or method name in Code view, Dreamweaver
opens a menu of function prototypes, displaying the current argument in bold. Each time you type a comma, Dream-
weaver updates the menu to display the next argument in bold. For example, if you typed the function name
in a ColdFusion document, the Code Hints menu would display
ArrayAppend
After you type the comma following
For object methods, when you type the object name, Dreamweaver opens a menu of the methods that are defined
for that object.
The recognized functions are stored in the XML files in the Configuration/CodeHints folder.
Attributes
pattern, doctypes, casesensitive
}
texticon
menu
_
TYPE" value="&quot;CONTENT
, the menu updates to show
array
&amp
and
tags:
menuitem
_
TYPE&quot;)
ArrayAppend(array, value)
ArrayAppend
DREAMWEAVER CS3
Extending Dreamweaver
, which is the HTML entity for
(
array, value).
39
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents