Adobe 38040334 - Dreamweaver CS3 User Manual page 44

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

Advertisement

Example
<description>
<![CDATA[ To add or remove tags and attributes, use the
<a href="javascript:dw.tagLibrary.showTagLibraryEditor()">Tag Library Editor</a>.]]>
</description>
<menu>
Description
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 "
Attributes
pattern, doctypes, casesensitive, classpattern
• The
attribute specifies the pattern of typed characters that cause Dreamweaver to open the Code Hints
pattern
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.
• The
attribute specifies that the menu is active only for the specified document types. This attribute lets
doctypes
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
See the Dreamweaver Configuration/Documenttypes/MMDocumentTypes.xml file for a list of Dreamweaver
document types.
• The
attribute specifies whether the pattern is case-sensitive. The possible values for the
casesensitive
attribute are
casesensitive
attribute. The list of document types lets you specify that the pattern is case-sensitive for some
doctypes
document types but not for others. The value defaults to
attribute is a value of
true
pattern that the pattern attribute specifies. If the
even if the pattern is lowercase and the text is uppercase.
• The
attribute associates the class member list with the class.
classpattern
Contents
The
tag.
menuitem
Container
The
tag.
menugroup
Example
<menu pattern="CGI." doctypes="ColdFusion">
<menuitem>
Description
This tag specifies the text for an item in a Code Hints pop-up menu. The
insert into the text when you select the item.
".
Session.
", Dreamweaver does not display the menu if the user types "
doctypes
,
, or a subset of the comma-separated list that you specify for the
true
false
, the Code Hints menu will open only if the text that the user types exactly matches the
casesensitive
attribute as a comma-separated list of document type IDs.
if you omit this attribute. If the
false
attribute is a value of
menuitem
DREAMWEAVER CS3
Extending Dreamweaver
".
my_Session.
casesensitive
, the menu appears
false
tag also specifies the value to
38

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents