Adobe 38040334 - Dreamweaver CS3 User Manual page 175

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

Advertisement

<itemtype/>
Description
Defines a single toolbar item. Toolbar items include buttons, radio buttons, check buttons, combo boxes, pop-up
menus, and so on. For a list of the types of toolbar items that you can define, see "Toolbar item tags" on page 170.
Attributes
The attributes vary, depending on the item that you define. For a complete list of the attributes that you can specify
for toolbar items, see "Item tag attributes" on page 175.
Contents
None.
Container
The
tag or the
toolbar
toolbarset
Example
<button id="strikeout
<itemref/>
Description
Refers to (and includes in the current toolbar) a toolbar item that was defined either inside a previous toolbar or
outside of all toolbars.
Attributes
id, {showIf}
Required. Must be the ID of an item that was previously defined or included in the file.
id="id_reference"
Dreamweaver does not allow forward references. If a toolbar item tag references an undefined ID, Dreamweaver
reports an error and ignores the reference.
Specifies that this item appears on the toolbar only if the specified script returns a
showIf="script"
For example, you can use
in a server-side language such as ColdFusion, ASP, or JSP. If you do not specify
Dreamweaver checks this property whenever the item's enabler runs; that is, according to the value of the
attribute. You should use this attribute sparingly. The attribute can be used either in the item definition or in a
reference to the item from a toolbar. If both the definition and the reference specify the
weaver shows the item only if both conditions are true. The
function in a command file.
Contents
None.
Container
The
tag or the
toolbar
toolbarset
Example
<itemref id="strikeout_button">
tag.
_
button" .../>
to show certain buttons only in a given application or only when a page is written
showIf
tag.
showIf
attribute is equivalent to the
showIf
DREAMWEAVER CS3
Extending Dreamweaver
value.
true
, the item always appears.
update
attribute, Dream-
showIf
showIf()
169

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents