Behavior functions
377
dreamweaver.behaviorInspector.moveBehaviorUp()
Availability
Dreamweaver 3.
Description
Moves a behavior higher 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.moveBehaviorUp(3)
function swaps the positions of
the Preload Images and the Change Property actions on the
onMouseOver
event. Calling the
dreamweaver.behaviorInspector.moveBehaviorUp()
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 2 is already at the top of the
onMouseDown
event group.
000_DW_API_Print.book Page 377 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...