Adobe 38040334 - Dreamweaver CS3 User Manual page 396

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

dreamweaver.codeHints.resetMenu()
Availability
Dreamweaver MX.
Description
Resets the specified menu tag or function tag to its state immediately after Dreamweaver reads the CodeHints.xml
file. In other words, a call to this function erases the effect of previous calls to the
functions.
Arguments
menuGroupId, pattern, {doctypes}
• The
argument is the ID string attribute of a
menuGroupId
• The
argument is a string that specifies the pattern attribute for the new
pattern
• The
argument, which is optional, specifies that this menu is active for only certain document types. You
doctypes
can specify the
doctypes
document types, see the Dreamweaver Configuration/Documenttypes/MMDocumentTypes.xml file.
Returns
Nothing.
Example
Your JavaScript code might build a Code Hints menu that contains user-defined session variables. Each time the list
of session variables changes, that code needs to update the menu. Before the code can load the new list of session
variables into the menu, it needs to remove the old list. Calling this function removes the old session variables.
dreamweaver.codeHints.showCodeHints()
Availability
Dreamweaver MX.
Description
Dreamweaver calls this function when the user opens the Edit > Show Code Hints menu item. The function opens
the Code Hints menu at the current selection location in Code view.
Arguments
None.
Returns
Nothing.
Example
The following example opens the Code Hints menu at the current insertion point in the document when it is in Code
view.
dw.codeHints.showCodeHints()
argument as a comma-separated list of document type IDs. For a list of Dreamweaver
addMenu()
tag.
menugroup
menu
DREAMWEAVER CS3
API Reference
and
addFunction()
or
tag to be reset.
function
391

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents