Macromedia dreamweaver 8-extending dreamweaver User Manual

Page of 504
The Insert bar definition file
147
Example
command="dw.showTagChooser()"
file="file_path"
Description
The 
file
 attribute specifies the path, relative to the Dreamweaver Configuration folder, of an 
object file. Dreamweaver derives the tooltip for the object icon from the title of the object file, 
unless you specify the 
name
 attribute.
Example
file="Templates/Editable.htm"
tag="editor"
Description
This attribute tells Dreamweaver to invoke a Tag editor. In Code view, if the 
tag
 attribute is 
defined and the user clicks the object, Dreamweaver invokes the Tag dialog box. In Code 
view, if you specify the 
tag
 and 
command
 attributes, Dreamweaver invokes the Tag editor. In 
Design view, if 
codeOnly="TRUE"
 and you do not specify the 
file
 attribute, Dreamweaver 
MX invokes Split view, places focus in the code, and invokes the Tag editor.
Example
tag = "form"
name="tooltip_text"
Description
The 
name
 attribute specifies the tooltip that appears when the mouse pointer rests over the 
object. If you specify an object file but do not specify the 
name
 attribute, Dreamweaver uses 
the name of the object file for the tooltip.
Some Insert bar objects use a variation of the name attribute with prefix 
MMString
. The 
MMString denotes a localized string; these values are explained in 
Example
name = "cfoutput"
NO
TE
If the name attribute is not provided, the object will not be available for grouping in the 
Favorites category on the Insert bar UI.