Include, Itemtype, Itemref – Adobe Extending Dreamweaver CS4 User Manual

Page 179

Advertising
background image

173

EXTENDING DREAMWEAVER CS4

Toolbars

<include/>

Description
Loads toolbar items from the specified file before continuing to load the current file. Toolbar items that are defined in
the included file can be referenced in the current file. If a file attempts to recursively include another file, Dreamweaver
displays an error message and ignores the recursive include. Any

toolbar

tags in the included file are skipped,

although toolbar items in those toolbars are available for reference in the current file.

Attributes

The

file

path, relative to the Toolbars folder, of the toolbar XML file to include.

Contents
None.

Container
The

toolbar

tag or the

toolbarset

tag.

Example

<include file="mine/editbar.xml"/>

<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 175.

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 180.

Contents
None.

Container
The

toolbar

tag or the

toolbarset

tag.

Example

<button id="strikeout_button" .../>

<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.

Advertising
This manual is related to the following products: