Adobe 38040334 API Reference - Page 382
dom.guidesVisible, dom.hasGuides, The following example turns guides on if they are not visible
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 382 highlights
DREAMWEAVER CS3 377 API Reference 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. Example The following example turns guides on if they are not visible: var currentDOM = dw.getDocumentDOM(); if (currentDOM.guidesVisible == false) { currentDOM.guidesVisible = true; } dom.hasGuides() Availability Dreamweaver 8. Description This function determines whether the document has at least one guide. You can set and get this property. Arguments None. Returns Nothing. Example The following example deletes all guides in the document if the document has at least one guide: var currentDOM = dw.getDocumentDOM(); if (currentDOM.hasGuides() == true) { currentDOM.clearGuides(); }
![](/manual_guide/products/adobe-38040334-api-reference-b593776/382.png)