Specifications
482
Arguments
source, title
• source is a string that contains source code, which represents the dynamic data object. It is the
same string that returned from a previous call to this function. The function uses the contents
of
source to initialize all the dialog box controls, so they appear exactly as when the user
clicked OK to create this string.
Dreamweaver passes this string to
inspectDynamicDataRef() to determine if the string
matches any of the nodes in the tree. If the string matches a node, that node is selected when
the dialog box appears. You can also pass an empty string, which does not initialize the dialog
box. For example, a dialog box is not initialized when used to create a new item.
• title is a string that contains the text to display in the title bar of the dialog box. This
argument is optional. If it is not supplied, Dreamweaver displays Dynamic Data in the title
bar.
Returns
A string that represents the dynamic data object, if the user clicks OK.
dreamweaver.showPreferencesDialog()
Availability
Dreamweaver 3
Description
Opens the Preferences dialog box.
Arguments
{whichTab}
The agument must be one of the following strings: "general", "external editors",
"floaters", "fonts", "highlighting", "html colors", "html format", "html
rewriting"
, "invisible elements", "layers", "browsers", "quick tag editor", "site
ftp"
, "status bar", "css styles", and "translation". If Dreamweaver does not recognize
the argument as a valid pane name, or if the argument is omitted, the dialog box opens to the last
active pane.
Returns
Nothing.
dreamweaver.showTagChooser()
Availability
Dreamweaver MX
Description
Toggles the visibility of the Tag Chooser dialog box for users to insert tags into the Code view.
The function shows the Tag Chooser dialog box on top of all other Dreamweaver windows. If the
dialog box is not visible, the function opens the Tag Chooser, bring it to the front, and set focus
to it. If the Tag Chooser is visible, the function hides the dialog box.
Arguments
None.