Specifications
To o l b a r s 85
<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 is specified by the
checked attribute or
the isCommandChecked() function 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 Split 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 88.
Contents
None.
Container
Either the toolbar tag or the toolbarset tag.
Example
<RADIOBUTTON ID="DW_CodeView"
image="Toolbars/images/MM/codeView.gif"
disabledImage="Toolbars/images/MM/codeView_dis.gif"
tooltip="Show Code View"
domRequired="false"
enabled="dw.getDocumentDOM() != null"
checked="dw.getDocumentDOM() != null && dw.getDocumentDOM().getView() ==
’code’"
command="dw.getDocumentDOM().setView(’code’)"
update="onViewChange"/>
<menubutton>
Description
A button that pops up the context menu that is specified by the menuid attribute. Dreamweaver
implements mouse-over and pressed states for menu buttons. Dreamweaver does not draw the
menu arrow; you must include it in your icon.
Attributes
id, image, tooltip, menuID, domRequired, enabled, {showif}, {disabledImage},
{overimage}, {label}, {file}, {update}
For a description of each attribute, see “Item Tag Attributes” on page 88.
Contents
None.
Container
Either the toolbar tag or the toolbarset tag.