This tag describes a single pop-up menu. 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.".
pattern, doctypes, casesensitive
pattern attribute specifies the pattern of typed characters that cause Dreamweaver to open the Code Hints menu. If the first character of the pattern is a letter, number, or underscore, 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.", Dreamweaver does not display the menu if the user types "my_Session.".
doctypes attribute 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), Macromedia ColdFusion, and so on. You can specify the doctypes attribute as a comma-separated list of document type IDs. See the Dreamweaver Configuration/Documenttypes/MMDocumentTypes.xml file for a list of Dreamweaver document types.
casesensitive attribute specifies whether the pattern is case-sensitive. The possible values for the casesensitive attribute are true, false, or a subset of the comma-separated list that you specify for the doctypes attribute. 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 to false if you omit this attribute. If the casesensitive attribute is a value of true, the Code Hints menu will open only if the text that the user types exactly matches the pattern that the pattern attribute specifies. If the casesensitive attribute is a value of false, the menu appears even if the pattern is lowercase and the text is uppercase.
The menuitem tag.
The menugroup tag.
<menu pattern="CGI." doctypes="ColdFusion">
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/extending/03_cust8.htm
Comments
ccharlton said on Dec 31, 2007 at 11:58 AM : ccharlton said on Jan 3, 2008 at 7:01 PM : scarroll said on May 13, 2008 at 4:53 PM :