Adobe 38040334 - Dreamweaver CS3 User Manual page 108

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

Advertisement

Example
_
<category id="DW
Insertbar
_
<button id="DW
Hyperlink" image="Common\Hyperlink.gif"
file="Common\Hyperlink.htm"/>
</category>
<menubutton>
Description
This tag defines a pop-up menu for the Insert bar.
Attributes
id, image, {showIf}, {name}, {folder}
Example
<menubutton
_
id="DW
ImageMenu"
name="Images"
image="Common\imagemenu.gif"
folder="Images">
_
<button id="DW
Image"
image="Common\Image.gif"
enabled=""
showIf=""
file="Common\Image.htm" />
</menubutton>
<button />
Description
This tag defines a button on the Insert bar that the user clicks to execute the code that the
specify.
Attributes
id, image, name, {canDrag}, {showIf}, {enabled}, {command}, {file}, {tag}, {codeOnly}
Example
_
<button id="DW
Object"
image="Common\Object.gif"
name="Object"
enabled="true"
showIf=""
file="Common\Obect.htm"
/>
<checkbutton />
Description
A checkbutton is a button that has a checked or unchecked state. When clicked, a checkbutton appears pressed in
and highlighted. When it is unchecked, a checkbutton appears flat. Dreamweaver has Mouse-over, Pressed, Mouse-
over-while-pressed, and Disabled-while-pressed states. The command must ensure that clicking the checkbutton
causes its state to change.
_
Common" folder="Common">
DREAMWEAVER CS3
Extending Dreamweaver
or
attributes
command
file
102

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents