Specifications

612
Tag inspector functions
These JavaScript functions manipulate the generic Tag inspector panel, specifically the context
menus in the Tag inspector panel. They are useful when creating extensions that incorporate new
context menus for the Tag inspector.
dreamweaver.tagInspector.tagBefore()
Availability
Dreamweaver MX
Description
Inserts a new tag before the currently selected tag. The new tag is either be empty, non-empty or
it accepts a tag name that is passed in as an argument.
Arguments
string: MM:non-empty, MM:empty or {tagname}
Returns
Nothing.
Enabler
“dreamweaver.tagInspector.tagBeforeEnabled()” on page 429
dreamweaver.tagInspector.tagInside()
Availability
Dreamweaver MX
Description
Inserts a new tag inside the currently selected tag as its first child. The tag will either be empty,
non-empty, or the tag name that is passed in as an argument.
Arguments
String: MM:non-empty, MM:empty or {tagname}
Returns
Nothing.
Enabler
“dreamweaver.tagInspector.tagInsideEnabled()” on page 429
dreamweaver.tagInspector.tagAfter()
Availability
Dreamweaver MX
Description
Inserts a new tag after the selected tag. The tag will either be empty, non-empty, or the tag name
that is passed in as an argument.
Arguments
string: MM:non-empty, MM:empty or {tagname}