<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. Adobe Dreamweaver implements the following states for the radio button: Mouse-over, Pressed, Mouse-over-while-pressed, and Disabled-while-pressed. Adobe 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 Split view buttons on the Adobe 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 .

Contents

None.

Container

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"/>