Adobe Dreamweaver API Reference CS5 Manuel d'utilisateur Page 136

  • 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 135
131
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
Description
Sets the default object for a pop-up menu. The default object’s icon represents the specified pop-up menu on the Insert
bar. The user can click on the default object to insert it, or click on the arrow beside the default object to open the pop-
up menu and see the other objects in that menu. Dreamweaver sets the new menu default the next time the user opens
Dreamweaver or uses the Reload Extensions command.
Arguments
menuId, defaultId
The menuId argument is the string that defines the menu in the insertbar.xml file.
The defaultId argument is the string that defines the new default object in the insertbar.xml field.
Returns
A Boolean value: true if the new default is successfully set; false otherwise.
Example
The following example sets the Flash object as the default object for the Media menu:
dw.objectPalette.setMenuDefault("DW_Media", "DW_Flash");
dreamweaver.reloadObjects()
Availability
Dreamweaver MX 2004.
Description
Reloads all the objects on the Insert bar. This function is the equivalent of Control+left-clicking the mouse on the
Categories menu on the Insert bar and selecting the Reload Extensions menu option.
Arguments
None.
Returns
A Boolean value: true if the objects were successfully loaded; false otherwise.
dom.convertActiveContent()
Availability
Dreamweaver CS3.
Description
Converts all the active content in the given document.
Vue de la page 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 532 533

Commentaires sur ces manuels

Pas de commentaire