Macromedia dreamweaver 8-extending dreamweaver 사용자 설명서
Code hints
59
Attributes
None.
Contents
Description text.
Container
The
menugroup
tag.
Example
<description>
<![CDATA[ To add or remove tags and attributes, use the <a
href="javascript:dw.tagLibrary.showTagLibraryEditor()">Tag Library
Editor</a>.
Editor</a>.
]]>
</description>
</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
"
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
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 "
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.
".
■
The
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
(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.
Dreamweaver document types.