Quick Tag Editor Functions - Adobe 38040334 - Dreamweaver CS3 User Manual

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

Advertisement

If the argument is set to
false
.
true
• The
argument is the DOM of the document to print. For information on how to obtain the DOM for a
document
document, see "dreamweaver.getDocumentDOM()" on page 236.
Returns
A Boolean value:
if the code can print;
true
Example
The following example calls
returns the value
, the code displays an alert to inform the user that it cannot execute the print request.
false
var theDOM = dreamweaver.getDocumentDOM("document");
if(!dreamweaver.PrintCode(true, theDOM))
{
alert("Unable to execute your print request!");
}

Quick Tag Editor functions

Quick Tag Editor functions navigate through the tags within and surrounding the current selection. They remove
any tag in the hierarchy, wrap the selection inside a new tag, and show the Quick Tag Editor to let the user edit
specific attributes for the tag.
dom.selectChild()
Availability
Dreamweaver 3.
Description
Selects a child of the current selection. Calling this function is equivalent to selecting the next tag to the right in the
tag selector at the bottom of the Document window.
Arguments
None.
Returns
Nothing.
dom.selectParent()
Availability
Dreamweaver 3.
Description
Selects the parent of the current selection. Calling this function is equivalent to selecting the next tag to the left in
the tag selector at the bottom of the Document window.
,
dreamweaver.PrintCode()
otherwise.
false
to start the Print dialog box for the user's document. If the function
dw.PrintCode()
uses the user's previous selection. The default value is
DREAMWEAVER CS3
413
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents