The
argument is the function call that
action
added using the Behaviors panel (for example,
The
eventBasedIndex
should be added. The
already are associated with the specified event, and you specify
this action executes between the other two. If you omit this argument, the action is added
after all existing actions for the specified event.
Returns
Nothing.
dom.getBehavior()
Availability
Dreamweaver 3.
Description
Gets the action at the specified position within the specified event. This function acts on the
current selection and is valid only for the active document.
Arguments
event, {eventBasedIndex}
The
argument is the JavaScript event handler through which the action is attached
event
to the element (for example,
The
eventBasedIndex
For example, if two actions are associated with the specified event, 0 is first and 1 is
second. If you omit this argument, the function returns all the actions for the specified
event.
Returns
A string that represents the function call (for example,
"MM_swapImage('document.Image1','document.Image1','foo.gif','#933292969950'
) or an array of strings if
)"
dom.reapplyBehaviors()
Availability
Dreamweaver 3.
argument, which is optional, is the position at which this action
argument is a zero-based index; if two actions
eventBasedIndex
,
onClick
onMouseOver
argument, which is optional, is the position of the action to get.
is omitted.
eventBasedIndex
returns if the action is
applyBehavior()
"MM_popupMsg('Hello World')")
eventBasedIndex
, or
).
onLoad
Behavior functions
.
as 1,
369
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?