MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Spécifications Page 84

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 692
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 83
Chapter 884
Attributes
id, image, tooltip, 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
<BUTTON ID="DW_DocRefresh"
image="Toolbars/images/MM/refresh.gif"
disabledImage="Toolbars/images/MM/refresh_dis.gif"
tooltip="Refresh Design View (F5)"
enabled="((dw.getDocumentDOM() != null) && (dw.getDocumentDOM().getView() !=
’browse’) && (!dw.getDocumentDOM().isDesignViewUpdated()))"
command="dw.getDocumentDOM().synchronizeDocument()"
update="onViewChange,onCodeViewSyncChange"/>
<checkbutton>
Description
A button that has a checked or unchecked state and that executes a specific command when
pressed. When it is checked, it appears pressed in and highlighted. When it is not checked, it
appears flat. Dreamweaver implements the following states for the check button: mouse-over,
pressed, mouse-over-while-pressed, and disabled-while-pressed. The handler that is specified by
the
checked attribute or the isCommandChecked() function must ensure that clicking the check
button causes the buttons state to toggle.
Attributes
id, {showif}, image, {disabledImage}, {overimage}, tooltip, {label}, {file},
{domRequired}, {enabled}, checked, {update}, command, {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
<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"/>
Vue de la page 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 691 692

Commentaires sur ces manuels

Pas de commentaire