Item Tag Attributes - MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Table of Contents

Advertisement

Item tag attributes

The attributes for toolbar item tags have the following meanings:
id="unique_id"
Required. The
attribute is an identifier for the toolbar item. The
id
unique within the current file and all files that are included within the current file. The
tag uses the item
itemref
Example
<button id="DW_DocRerefresh" . . . >
showIf="script"
Optional. This attribute specifies that the item appears on the toolbar only if the script
returns a
value. For example, you can use the
true
only when a page is written in a certain server-side language such as ColdFusion, ASP, or JSP.
If you do not specify
The
attribute is checked whenever the item's enabler runs; that is, according to the
showIf
value of the
attribute. You should use the
update
You can specify the
showIf
an
tag. If the definition and the reference specify the
itemref
shows only if both conditions are true. The
function in a toolbar command file. If you specify both the
function, the function overrides the attribute.
showif()
Example
showIf="dw.canLiveDebug()"
image="image_path"
This attribute is required for buttons, check buttons, radio buttons, menu buttons, and
combo buttons. The
types. The
attribute specifies the path, relative to the Configuration folder, of the icon
image
file that displays on the button. The icon can be in any format that Dreamweaver can render,
but typically it is a GIF or JPEG file format.
232
Toolbars
to refer to and include an item within a toolbar.
id
, the item always appears.
showIf
attribute in the item definition and in a reference to the item on
attribute is optional for color pickers and is ignored for other item
image
attribute to show certain buttons
showIf
attribute sparingly.
showIf
showIf
attribute is the same as the
showIf
showIf
attribute must be
id
attribute, the item
showIf()
attribute and the

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Dreamweaver 8

Table of Contents