Macromedia dreamweaver 8-extending dreamweaver Benutzerhandbuch
228
Toolbars
Radio buttons act the same as the Code view, Design view, and Split view buttons on the
Dreamweaver document toolbar.
Dreamweaver document toolbar.
Attributes
id, image, tooltip, checked, command, {showIf}, {disabledImage},
{overImage}, {label}, {file}, {domRequired}, {enabled}, {update},
{arguments}
{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"/>
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 menu button is a button that invokes 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, which is the downward-pointing arrow that
indicates menu items are attached to the button; you must include it in your icon. The File
Management and Code Navigation buttons on the Dreamweaver document toolbar are
examples of menu buttons.
Dreamweaver does not draw the menu arrow, which is the downward-pointing arrow that
indicates menu items are attached to the button; you must include it in your icon. The File
Management and Code Navigation buttons on the Dreamweaver document toolbar are
examples of menu buttons.
Attributes
id, image, tooltip, menuID, domRequired, enabled, {showIf},
{disabledImage}, {overImage}, {label}, {file}, {update}
For a description of each attribute, see
.