The remaining arguments,
pass to the
receiveArguments()
Returns
Nothing.
Example
You can write a custom Property inspector for tables that lets users get to the Format Table
command from a button on the inspector by calling the following function from the button's
event handler:
onClick
function callFormatTable(){
dreamweaver.runCommand('Format Table.htm');
}
File manipulation functions
File manipulation functions handle creating, opening, and saving documents (including XML
and XHTML), converting existing HTML documents into XHTML, and exporting CSS to
external files. These functions accomplish such tasks as browsing for files or folders, creating
files based on templates, closing documents, and getting information about recently opened
files.
dom.cleanupXHTML()
Availability
Dreamweaver MX.
Description
This function is similar to the
XHTML document. This function can run on a selection within the document. You can run
the
cleanupXHTML()
the current selection of a document.
Arguments
bWholeDoc
The
argument holds a Boolean value. If the value is
bWholeDoc
cleanupXHTML()
up only the selection.
302
Document
commandArg1, commandArg2
function in the
convertToXHTML()
function to clean up the syntax in an entire XHTML document or in
function cleans up the entire document; otherwise, this function cleans
, and so on, which are optional,
argument.
commandFile
function, but it cleans up an existing
true
, the
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?
Questions and answers