![MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Скачать руководство пользователя страница 521](http://html1.mh-extra.com/html/macromedia/dreamweaver-8-dreamweaver-api/dreamweaver-8-dreamweaver-api_reference_3332054521.webp)
Quick Tag Editor functions
521
■
The
document
argument is the DOM of the document to print. For information on how
to obtain the DOM for a document, see
“dreamweaver.getDocumentDOM()”
on page 311
.
Returns
A Boolean value:
true
if the code can print;
false
otherwise.
Example
The following example calls
dw.PrintCode()
to invoke the Print dialog box for the user’s
document. If the function returns the value
false
, the code displays an alert to inform the
user that it cannot execute the print request.
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.
000_DW_API_Print.book Page 521 Wednesday, July 20, 2005 11:58 AM
Содержание DREAMWEAVER 8-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 16: ......
Страница 28: ...28 The File I O API...
Страница 38: ...38 The HTTP API...
Страница 68: ...68 Flash Integration...
Страница 100: ...100 The Database API...
Страница 116: ...116 The JavaBeans API...
Страница 144: ...144 The Source Control Integration API...
Страница 146: ......
Страница 254: ...254 Workspace...
Страница 298: ...298 Site...
Страница 354: ...354 Document...
Страница 396: ...396 Page Content...
Страница 488: ...488 Design...
Страница 550: ...550 Code...