310
Chapter 15: Page Content
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.
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.
000_DW_API_Print.book Page 310 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...