User Guide
376 Page Content
dreamweaver.behaviorInspector.moveBehaviorDown()
Availability
Dreamweaver 3.
Description
Moves a behavior action lower in sequence by changing its execution order within the scope of
an event.
Arguments
positionIndex
■ The positionIndex argument is the position of the action in the Behaviors panel. The
first action in the list is at position 0.
Returns
Nothing.
Example
If the Behaviors panel is set up as shown in the following figure, calling the
dreamweaver.behaviorInspector.moveBehaviorDown(2) function swaps the positions of
the Preload Images and the Change Property actions on the
onMouseDown event. Calling the
dreamweaver.behaviorInspector.moveBehaviorDown() function for any other position
has no effect because the
onClick and onFocus events each have only one associated
behavior, and the behavior at position 3 is already at the bottom of the
onMouseDown event
group.
000_DW_API_Print.book Page 376 Wednesday, July 20, 2005 11:58 AM