
176
EXTENDING DREAMWEAVER CS4
Toolbars
For a description of each attribute, see “Item tag attributes” on page 180.
Contents
None.
Container
The toolbar tag or the toolbarset tag.
Example
<CHECKBUTTON ID="DW_LiveDebug"
image="Toolbars/images/MM/debugview.gif"
disabledImage="Toolbars/images/MM/globe_dis.gif"
tooltip="Live Debug"
enabled="dw.canLiveDebug()"
checked="dw.getDocumentDOM() != null && dw.getDocumentDOM().getView() == 'browse'"
command="dw.toggleLiveDebug()"
showIf="dw.canLiveDebug()"
update="onViewChange"/>
<radiobutton>
Description
A radio button is exactly the same as a check button, except that when it is off, it appears as a raised button.
Dreamweaver implements the following states for the radio button: Mouse-over, Pressed, Mouse-over-while-pressed,
and Disabled-while-pressed. Dreamweaver does not enforce mutual exclusion between radio buttons. The handler
that the
checked attribute or the isCommandChecked() function specifies must ensure that the checked and
unchecked states of radio buttons are consistent with each other.
Radio buttons act the same as the Code view, Design view, and Code and Design view buttons on the Dreamweaver
document toolbar.
Attributes
id, image, tooltip, checked, command, {showIf}, {disabledImage}, {overImage}, {label}, {file},
{domRequired}, {enabled}, {update}, {arguments}
For a description of each attribute, see “Item tag attributes” on page 180.
Contents
None.
Container
The toolbar tag or the toolbarset tag.
Commentaires sur ces manuels