MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 508

Dreamweaver api reference
Table of Contents

Advertisement

dom.insertObject()
Availability
Dreamweaver 3.
Description
Inserts the specified object, prompting the user for parameters if necessary.
Arguments
objectName
The
objectName
Returns
Nothing.
Example
A call to the
dom.insertObject('Button')
document after the current selection. If nothing is selected, this function inserts the button at
the current insertion point.
Although object files can be stored in separate folders, it's important that these files have
unique names. 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}
The
contentToInsert
The
bReplaceCurrentSelection
indicates whether the content should replace the current selection. If the
bReplaceCurrentSelection
current selection. If the value is
508
Code
argument is the name of an object in the Configuration/Objects folder.
argument is the content that you want to insert.
argument, which is optional, is a Boolean value that
argument is a value of
, the content is inserted after the current selection.
false
function inserts a form button into the active
, the content replaces the
true

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents