Macromedia dreamweaver 8-extending dreamweaver Benutzerhandbuch

Seite von 504
228
Toolbars
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 
.
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"/>
<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. 
Attributes
id, image, tooltip, menuID, domRequired, enabled, {showIf}, 
{disabledImage}, {overImage}, {label}, {file}, {update}
For a description of each attribute, see 
.