Behaviors task pane

The Behaviors task pane enables you to add Behaviors to elements, and manage the Behaviors that have been added to various elements.

  • **Insert   **To add a new Behavior, select an element in Design view, and then click Insert. A menu opens with all of the Behaviors appropriate for that element in the schema you have specified in the Authoring tab of the Page Editor Options dialog box. Click the Behavior you want and customize it in the dialog box that opens.

  • **Tag   **See the selected element

  • **Delete   **Delete the selected Behavior

  • Move UpCc294946.a107ca8c-e7ea-47c4-a5c8-efd628a726f5(en-us,Expression.10).gif and Move DownCc294946.d6d0dfc5-2db6-46ea-905b-0bc6da3f5d22(en-us,Expression.10).gif buttons   The Move UpCc294946.a107ca8c-e7ea-47c4-a5c8-efd628a726f5(en-us,Expression.10).gif and Move DownCc294946.d6d0dfc5-2db6-46ea-905b-0bc6da3f5d22(en-us,Expression.10).gif buttons enable you to change the order of Behaviors in the list. The order in which the code is executed to perform the Behaviors is determined by the order of the Behaviors in the list.

  • Events column   See the events that trigger the Behaviors. The dropdown associated with a Behavior allows you to change the event that causes the Behavior to display. For example, you can change onmouseover to onclick to cause the Behavior to occur when the user clicks, rather than hovers the mouse pointer over, the control. The list contains all the Behaviors appropriate for the selected element in the schema you have specified in the Authoring tab of the Page Editor Options dialog box.

  • Actions column   See the Behavior that corresponds with the event.

See also

Concepts

Behavior scripts

Define a behavior for an element