User Guide
Guide functions and properties 471
Returns
Nothing.
Example
The following example deletes the vertical guide at the specified location in the document:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.hasVerticalGuide("10px") == true) {
currentDOM.deleteVerticalGuide("10px");
}
dom.guidesColor
Availability
Dreamweaver 8.
Description
This mutable color property determines the color of guides in the document. You can set and
get this property.
Arguments
None.
Returns
Nothing.
Example
The following example makes guides gray:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.guidesColor != "#444444"){
currentDOM.guidesColor = "#444444";
}
dom.guidesDistanceColor
Availability
Dreamweaver 8.
Description
This mutable color property determines the distance feedback color of guides in the
document. You can set and get this property.
000_DW_API_Print.book Page 471 Wednesday, July 20, 2005 11:58 AM