User Guide

472 Design
Arguments
None.
Returns
Nothing.
Example
The following example makes the distance feedback color of guides gray:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.guidesDistanceColor != "#CCCCCC"){
currentDOM.guidesDistanceColor = "#CCCCCC";
}
dom.guidesLocked
Availability
Dreamweaver 8.
Description
This mutable Boolean property determines whether guides are locked in the document. You
can set and get this property.
Arguments
None.
Returns
Nothing.
Example
The following example locks guides if they are not locked:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.guidesLocked == false) {
currentDOM.guidesLocked = true;
}
000_DW_API_Print.book Page 472 Wednesday, July 20, 2005 11:58 AM