Item Tag Attributes; Id="Unique_Id; Showif="Script; Image="Image_Path - MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

Container
The
tag or the
toolbar
Example
<colorpicker id="Color_Example"
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
id
within the current file and all files that are included within the current file. The
the item
to refer to and include an item within a toolbar.
id
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
page is written in a certain server-side language such as ColdFusion, ASP, or JSP. If you do not
specify
, the item always appears.
showIf
The
attribute is checked whenever the item's enabler runs; that is, according to the value
showIf
of the
attribute. You should use the
update
You can specify the
tag. If the definition and the reference specify the
itemref
if both conditions are true. The
toolbar command file. If you specify both the
function overrides the attribute.
Example
showIf="dw.canLiveDebug()"

image="image_path"

This attribute is required for buttons, check buttons, radio buttons, menu buttons, and combo
buttons. The
image
attribute specifies the path, relative to the Configuration folder, of the icon file that
image
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.
182
Chapter 9: Toolbars
tag.
toolbarset
attribute is an identifier for the toolbar item. The
attribute in the item definition and in a reference to the item on an
showIf
showIf
attribute is optional for color pickers and is ignored for other item types. The
attribute to show certain buttons only when a
showIf
attribute sparingly.
showIf
showIf
attribute is the same as the
attribute and the
showIf
attribute must be unique
id
itemref
attribute, the item shows only
function in a
showIf()
function, the
showif()
tag uses

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents