Adobe Dreamweaver API Reference CS5 Manuale Utente Pagina 180

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 533
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 179
175
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
The toolbarItemId argument is a string that specifies the ID of the toolbar item.
The attrName argument is a string that specifies the name of the attribute to set. Valid values are 'image',
'
overImage', 'disabledImage', or 'tooltip'.
The attrValue argument is a string that specifies the value to set.
Returns
Nothing.
Example
The following example calls dom.setToolbarItemAttribute() three times to set the image, imageOver, and
tooltip attributes for the toolbar item MyButton on the toolbar having the ID DW_Toolbar_Main:
var dom = dw.getDocumentDOM();
dom.setToolbarItemAttribute('DW_Toolbar_Main', 'MyButton', 'image',
'Toolbars/imgs/newimage.gif');
dom.setToolbarItemAttribute('DW_Toolbar_Main', 'MyButton', 'imageOver',
'Toolbars/imgs/newimageOver.gif');
dom.setToolbarItemAttribute('DW_Toolbar_Main', 'MyButton', 'tooltip', 'One fine button');
dom.setShowToolbarIconLabels()
Availability
Dreamweaver MX.
Description
This function tells Dreamweaver to show the labels of buttons that have labels. Dreamweaver always shows labels for
non-button controls, if the labels are defined.
Arguments
bShow
The bShow argument is a Boolean value: true shows the labels for buttons; false otherwise.
Returns
Nothing.
Example
The following example tells Dreamweaver to show the labels for the buttons on the toolbars:
dom.setShowToolbarIconLabels(true);
dom.setToolbarPosition()
Availability
Dreamweaver MX.
Description
This function moves the specified toolbar to the specified position.
Vedere la pagina 179
1 2 ... 175 176 177 178 179 180 181 182 183 184 185 ... 532 533

Commenti su questo manuale

Nessun commento