Adobe 38040334 API Reference - Page 381
dom.guidesLocked, dom.guidesSnapToElements, this property.
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 381 highlights
DREAMWEAVER CS3 376 API Reference 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: