User Guide
366 Chapter 17: Design
dom.getShowLayoutView()
Availability
Dreamweaver 4.
Description
Determines the view for the current document; either Layout or Standard view.
Arguments
None.
Returns
Returns true if the current document is in Layout view; false if the document is in
Standard view.
dom.isColumnAutostretch()
Availability
Dreamweaver 4.
Description
Determines whether a column is set to expand and contract automatically, depending on the
document size. This function fails if the current selection is not a table.
Arguments
colNum
• The colNum argument is the column to be automatically sized or fixed width.
Returns
Returns true if the column at the given index in the currently selected table is set to autostretch;
false otherwise.
dom.makeCellWidthsConsistent()
Availability
Dreamweaver 4.
Description
In the currently selected table, this function sets the width of each column in the HTML to
match the currently rendered width of the column. This function fails if the current selection is
not a table or if the operation is not successful.
Arguments
None.
Returns
Nothing.
000_DW_API_Print.book Page 366 Wednesday, August 20, 2003 9:14 AM