Adobe Dreamweaver API Reference CS5 Manuel d'utilisateur Page 179

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 533
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 178
174
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
Arguments
toolbar_id
The toolbar_id argument is the ID of the toolbar, which is the value of the ID attribute on the toolbar tag in the
toolbars.xml file.
Returns
The label name string that is assigned as an attribute on the toolbar tag.
Example
The following example stores the label for myEditbar in the variable label:
var label = dom.getToolbarLabel("myEditbar");
dom.getToolbarVisibility()
Availability
Dreamweaver MX.
Description
This function returns a Boolean value that indicates whether the toolbar that is specified by toolbar_id is visible.
Arguments
toolbar_id
The toolbar_id argument is the ID string that is assigned to the toolbar.
Returns
A Boolean value: true if the toolbar is visible, false if the toolbar is not visible or does not exist.
Example
The following example checks whether the toolbar myEditbar is visible in the document window, and then stores that
value in the
retval variable:
var retval = dom.getToolbarVisibility("myEditbar");
return retval;
dom.setToolbarItemAttribute()
Availability
Dreamweaver MX 2004.
Description
Changes an attribute value for the three image attributes or the tooltip attribute on a toolbar item.
Arguments
toolbarID, toolbarItemId, attrName, attrValue
The toolbarID argument is a string that specifies the ID of the toolbar.
Vue de la page 178
1 2 ... 174 175 176 177 178 179 180 181 182 183 184 ... 532 533

Commentaires sur ces manuels

Pas de commentaire