Behavior Functions - MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

dreamweaver.templatePalette.renameSelectedTemp
late() (deprecated)
Availability
Dreamweaver 3; deprecated in Dreamweaver 4 in favor of using
dreamweaver.assetPalette.setSelectedCategory()
and then calling
dreamweaver.assetPalette.renameNickname()
Description
This function turns the name of the selected template into a text field, so the user can rename
the selection.
Arguments
None.
Returns
Nothing.

Behavior functions

Behavior functions let you add behaviors to and remove them from an object, find out which
behaviors are attached to an object, get information about the object to which a behavior is
attached, and so on. Methods of the
or act on only the selection in the Behaviors panel, not the selection in the current document.
dom.addBehavior()
Availability
Dreamweaver 3.
Description
Adds a new event/action pair to the selected element. This function is valid only for the
active document.
Arguments
event, action, {eventBasedIndex}
The
argument is the JavaScript event handler that should attach the behavior to the
event
element (for example,
368
Page Content
dreamweaver.behaviorInspector
,
onClick
onMouseOver
with
as the argument value,
"templates"
.
, or
.
onLoad)
object either control

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