Adobe 38040334 API Reference - Page 384
Table editing functions, dom.snapToGuides, dom.convertWidthsToPercent
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 384 highlights
DREAMWEAVER CS3 379 API Reference var currentDOM = dw.getDocumentDOM(); if (currentDOM.hasVerticalGuide("10px") == true) { currentDOM.clearGuides(); } dom.snapToGuides Availability Dreamweaver 8. Description This mutable Boolean property determines whether elements snap to guides in the document. You can set and get this property. Arguments None. Returns Nothing. Example The following example makes elements in the document snap to guides: var currentDOM = dw.getDocumentDOM(); if (currentDOM.snapToGuides == false) { currentDOM.snapToGuides = true; } Table editing functions Table functions add and remove table rows and columns, change column widths and row heights, convert measurements from pixels to percents and back, and perform other standard table-editing tasks. dom.convertWidthsToPercent() Availability Dreamweaver 3. Description This function converts all WIDTH attributes in the current table from pixels to percentages. Arguments None. Returns Nothing.