User Guide
Guide functions and properties 473
dom.guidesSnapToElements
Availability
Dreamweaver 8.
Description
This mutable Boolean property determines whether guides snap to elements in the document.
You can set and get this property.
Arguments
None.
Returns
Nothing.
Example
The following example makes guides in the document snap to elements:
var currentDOM = dw.getDocumentDOM();
if (currentDOM.guidesSnapToElements == false) {
currentDOM.guidesSnapToElements = true;
}
dom.guidesVisible
Availability
Dreamweaver 8.
Description
This mutable Boolean property determines whether guides are visible in the document. You
can set and get this property.
Arguments
None.
Returns
Nothing.
000_DW_API_Print.book Page 473 Wednesday, July 20, 2005 11:58 AM