Adobe Dreamweaver API Reference CS5 Manuale Utente Pagina 402

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 533
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 401
397
DREAMWEAVER API REFERENCE
Design
Last updated 8/27/2013
Returns
An array of strings that contains three strings:
color, which is the hexadecimal value of the RGB color, in the form #RRGGBB
width, which indicates the width in pixels
style, which is "SOLID", "DOTTED", "DASHED", or "OUTSET"
Example
The following example gets the outline properties for "divs" and makes the outline style "SOLID":
var outlineStyle = dw.getBlockVisOutlineProperties("divs");
if (outlineStyle[2] != "SOLID"){
dw.setBlockVisOutlineProperties("divs", outlineStyle[0], outlineStyle[1], "SOLID");
}
dreamweaver.getDivBackgroundColors()
Availability
Dreamweaver 8.
Description
This function gets the colors used by the Layout Block Backgrounds visual aid.
Arguments
None.
Returns
An array of strings that contains the 16 colors, with each color represented by the hexadecimal value of the RGB color,
in the form #RRGGBB.
Example
The following example gets the background colors used by the Layout Block Backgrounds visual aid:
var backgroundColors = dreamweaver.getDivBackgroundColors();
dreamweaver.setBlockVisOutlineProperties()
Availability
Dreamweaver 8.
Description
This function sets the outline properties for the block visualization visual aids.
Vedere la pagina 401
1 2 ... 397 398 399 400 401 402 403 404 405 406 407 ... 532 533

Commenti su questo manuale

Nessun commento