Table Editing Functions - Adobe 38040334 - Dreamweaver CS3 User Manual

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

Advertisement

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 measure-
ments from pixels to percents and back, and perform other standard table-editing tasks.
dom.convertWidthsToPercent()
Availability
Dreamweaver 3.
Description
This function converts all
WIDTH
Arguments
None.
Returns
Nothing.
attributes in the current table from pixels to percentages.
DREAMWEAVER CS3
379
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents