Use the Behavior inspector to attach JavaScript behaviors to objects and to modify parameters of previously attached behaviors. Behaviors are listed alphabetically by event. If there are several actions for the same event, the actions appear in the order they will execute.
The tags controlling the current selection appear at the top of the inspector.
To open the Behavior inspector, choose Window > Behaviors or click the Behavior button in the Launcher. See also Behaviors overview.
Actions (+) Displays a list of actions that can occur. Choosing an action causes a parameters dialog box to appear.
Delete (-) Removes the current action from the Action list.
Show Events For Specifies the browsers in which the current behavior should work. The selection you make from this menu determines which events appear on the Events pop-up menu.
Events Displays all the events that can trigger the action. Different events appear depending on the object selected. If the expected events don't appear, make sure that the correct object is selected. Use the tag selector at the bottom left of the Document window to select a specific tag.
Note: The Events pop-up menu appears only after you have selected an action.
Different browsers recognize different events for various objects. Choose the browsers in which you want the behavior to work from the Show Events For pop-up menu. Only the events recognized by the selected browsers appear on the Events menu.
Up and Down arrows Move the selected action up or down in the behavior list. Actions are executed in the specified order.