<menu>
Description
This tag describes a single pop-up menu. Adobe Dreamweaver opens the menu whenever the user types the last character of the string in the pattern attribute. For example, the menu that shows the contents of a Session variable might have a pattern attribute that is equal to "Session.".
Attributes
pattern, doctypes, casesensitive- The
patternattribute specifies the pattern of typed characters that cause Adobe Dreamweaver to open the Code Hints menu. If the first character of the pattern is a letter, number, or underscore, Adobe Dreamweaver displays the menu only if the character that precedes the pattern in the document is not a letter, number, or underscore. For example, if the pattern is "Session.", Adobe Dreamweaver does not display the menu if the user types "my_Session.". - The
doctypesattribute specifies that the menu is active only for the specified document types. This attribute lets you specify different lists of function names for ASP-JavaScript (ASP-JS), Java Server Pages (JSP), Adobe ColdFusion, and so on. You can specify thedoctypesattribute as a comma-separated list of document type IDs. See the Adobe Dreamweaver Configuration/Documenttypes/MMDocumentTypes.xml file for a list of Adobe Dreamweaver document types. - The
casesensitiveattribute specifies whether the pattern is case-sensitive. The possible values for thecasesensitiveattribute aretrue,false, or a subset of the comma-separated list that you specify for thedoctypesattribute. 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 tofalseif you omit this attribute. If thecasesensitiveattribute is a value oftrue, the Code Hints menu will open only if the text that the user types exactly matches the pattern that the pattern attribute specifies. If thecasesensitiveattribute is a value offalse, 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">