User Guide

The Insert bar definition file 117
Example
<checkbutton id="DW_StandardView"
name = "Standard View"
image="Tools\Standard View.gif"
checked="_View_Standard"
command="dw.getDocumentDOM().setShowLayoutView(false)"/>
<separator />
Description
This tag displays a vertical line on the Insert bar.
Attributes
{showIf}
Example
<separator showIf="_VIEW_CODE"/>
Insert bar definition tag attributes
The attributes for the Insert bar definition tags have the following meanings:
id="unique id"
Description
The id attribute is an identifier for the buttons that appear on the Insert bar. The id attribute
must be unique identifier for the element within the file.
Example
id="DW_Anchor"
image="image_path”
Description
This attribute specifies the path, relative to the Dreamweaver Configuration folder, to the icon
file that appears on the Insert bar. The icon can be in any format that Dreamweaver can render,
but typically it is a GIF or JPEG file format, 18 x 18 pixels.
Example
image="Common/table.gif"
canDrag="Boolean”
Description
This attribute specifies whether the user can drag the icon into the code or workspace to insert the
object into a document. If omitted, the default value is
true.
Example
canDrag="false"