Item Tag Attributes - Adobe 38040334 - Dreamweaver CS3 User Manual

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Contents
None.
Container
The
tag or the
toolbar
toolbarset
Example
<colorpicker id="Color
image="Toolbars/images/colorpickerIcon.gif"
disabledImage="Toolbars/images/colorpickerIconD.gif"
colorRect="0 12 16 16"
tooltip="Text Color"
domRequired="false"
file="Toolbars/mine/colorExample.htm"
update="onSelChange"/>

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
file and all files that are included within the current file. The
item within a toolbar.
Example
_
<button id="DW
DocRerefresh" . . . >
showIf="script"
Optional. This attribute specifies that the item appears on the toolbar only if the script returns a
example, you can use the
showIf
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 value of the
showIf
attribute. You should use the
You can specify the
showIf
definition and the reference specify the
attribute is the same as the
showIf
attribute and the
showif()
Example
showIf="dw.canLiveDebug()"
tag.
_
Example"
attribute to show certain buttons only when a page is written in a certain server-
attribute sparingly.
showIf
attribute in the item definition and in a reference to the item on an
attribute, the item shows only if both conditions are true. The
showIf
function in a toolbar command file. If you specify both the
showIf()
function, the function overrides the attribute.
attribute must be unique within the current
id
tag uses the item
itemref
, the item always appears.
showIf
DREAMWEAVER CS3
Extending Dreamweaver
to refer to and include an
id
value. For
true
update
tag. If the
itemref
showIf
175

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents