Adobe 38040334 - Dreamweaver CS3 User Manual page 381

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

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;
}
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:
DREAMWEAVER CS3
376
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents