MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Specifikace Strana 471

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 692
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 470
471
The result appears in the Document window, as shown in the following figure:
dom.insertObject()
Availability
Dreamweaver 3
Description
Inserts the specified object, prompting the user for parameters if necessary.
Arguments
objectName
objectName
is the name of an object in the Configuration/Objects folder.
Returns
Nothing.
Example
A call to dreamweaver.getDocumentDOM().insertObject(’Button’) inserts a form button
into the active document after the current selection. If nothing is selected, this function inserts
the button at the current insertion point.
Note: Although object files can be stored in separate folders, it’s important that their filenames be unique. If a file
called Button.htm exists in the Forms folder and also in the MyObjects folder, Dreamweaver cannot distinguish
between them.
dom.insertText()
Availability
Dreamweaver 3
Description
Inserts text content into the document at the current insertion point.
Arguments
contentToInsert, {bReplaceCurrentSelection}
contentToInsert is the content that you want to insert.
bReplaceCurrentSelection is a Boolean value that indicates whether the content should
replace the current selection. If
bReplaceCurrentSelection is false, the content is inserted
after the current selection.
Returns
Nothing.
Zobrazit stránku 470
1 2 ... 466 467 468 469 470 471 472 473 474 475 476 ... 691 692

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

Žádné komentáře