Specifications

Chapter 31396
Attributes
label value {icon} {texticon}
label is the string that Dreamweaver displays in the pop-up menu.
value 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 popped up. The user typed the pattern-matching
characters before the menu popped up, so Dreamweaver does not insert them again. For example,
if you want to insert
&amp, which is the HTML entity for &, you could 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 popped up.
icon is an optional attribute that specifies the path to an image file that Dreamweaver displays as
an icon to the left of the menu text. The location is expressed as a URL, relative to the
Configuration folder.
texticon is an optional attribute that specifies a text string to appear in the icon area instead of
an image file. This attribute is used for the HTML Entities menu.
Contents
None.
Container
menu tag.
Example
<menuitem label="CONTENT_TYPE" value="&quot;CONTENT_TYPE&quot;)" icon="shared/
mm/images/hintMisc.gif" />
<function>
Description
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 pops up a
menu of function arguments. Each time you type a comma, Dreamweaver updates the menu to
display only the remaining arguments.
For object methods, when you type the object name Dreamweaver pops up a menu of the
methods that are defined for that object.
The set of recognized functions is stored in the Dreamweaver Configuration/CodeHints.xml file.
Attributes
pattern doctypes