Adobe 38040334 API Reference - Page 354
the function returns the properties used for the visual aid that outlines all, layout blocks. If
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 354 highlights
DREAMWEAVER CS3 349 API Reference var boxColors = dreamweaver.getBlockVisBoxModelColors(); if ((boxColors[0] != "#FFFFFF") || (boxColors[1] != "#FFFFFF)){ currentDOM.setBlockVisBoxModelColors("#FFFFFF", "#FFFFFF"); } dreamweaver.getBlockVisOutlineProperties() Availability Dreamweaver 8. Description This function gets the outline properties for the block visualization visual aids. Arguments forWhat • The forWhat argument, which is required, is a string. Possible values are "divs", "selectedDiv", or "layers". If the forWhat argument is "divs", the function returns the properties used for the visual aid that outlines all layout blocks. If forWhat is "selectedDiv", the function returns the property used for the visual aid that outlines selected layout blocks. The layers value specifies layers. 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.