MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 523

Dreamweaver api reference
Table of Contents

Advertisement

Arguments
startTag
The
argument is the source that is associated with the opening tag.
startTag
Returns
Nothing.
Example
The following code wraps a link around the current selection:
var theDOM = dw.getDocumentDOM();
var theSel = theDOM.getSelectedNode();
if (theSel.nodeType == Node.TEXT_NODE){
theDOM.wrapTag('<a href="foo.html">');
}
dreamweaver.showQuickTagEditor()
Availability
Dreamweaver 3.
Description
Displays the Quick Tag Editor for the current selection.
Arguments
{nearWhat}, {mode}
The optional
nearWhat
. If this argument is omitted, the default value is
selector"
The optional
mode
. If
is
"edit"
mode
mode to use for the current selection. The
.
selector"
Returns
Nothing.
argument, if specified, must be either
argument, if specified, must be
or omitted, Dreamweaver uses heuristics to determine the
"default"
"selection"
"selection"
,
"default"
argument is ignored if
mode
Quick Tag Editor functions
or
"tag
.
,
, or
"wrap"
"insert"
is
nearWhat
"tag
523

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents