Adobe Dreamweaver API Reference CS5 Uživatelský manuál Strana 472

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 533
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 471
467
DREAMWEAVER API REFERENCE
Code
Last updated 8/27/2013
Returns
A Boolean value: true if the code can print; false otherwise.
Example
The following example calls dw.PrintCode() to start 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.
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.
Arguments
None.
Zobrazit stránku 471
1 2 ... 467 468 469 470 471 472 473 474 475 476 477 ... 532 533

Komentáře k této Příručce

Žádné komentáře