Adobe Dreamweaver API Reference CS5 Manual de usuario Pagina 402

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 533
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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.
Vista de pagina 401
1 2 ... 397 398 399 400 401 402 403 404 405 406 407 ... 532 533

Comentarios a estos manuales

Sin comentarios