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
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?