MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Specifiche Pagina 407

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 692
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 406
The Dreamweaver JavaScript API 407
Arguments
None.
Returns
The object to which the style should be applied, or NULL if the target is the current selection.
Example
Before applying a style, use dreamweaver.cssStylePalette.getSelectedTarget() to ensure
that if the user has changed the target, you have the one that is currently selected.
For example:
var currDOM = dreamweaver.getDocumentDOM();
currDOM.applyCSSStyle(dreamweaver.cssStylePalette.getSelectedTarget(), ¬
"codeRed");
dreamweaver.cssStylePalette.getStyles()
Availability
Dreamweaver 3
Description
Gets a list of all the class styles in the active document.
Arguments
None.
Returns
An array of strings that represent the names of all the class styles in the document.
Example
Assuming the CSS Styles panel setup that is shown in the following example, a call to
dreamweaver.cssStylePalette.getStyles() returns an array that contains these strings:
"BreadcrumbEnd", "change", "doctitle", "heading", and "highlight".
Vedere la pagina 406
1 2 ... 402 403 404 405 406 407 408 409 410 411 412 ... 691 692

Commenti su questo manuale

Nessun commento