Setting the Behaviors panel options

Setting the Behaviors panel options

The Behaviors panel has the following options:

Show Set Events displays only those events that have been attached to the current document. Events are organized into either client side or server side categories. Each category’s events are contained in a collapsible list that you expand or collapse by clicking the plus/minus button next to its name. Show Set Events is the default view.

Show All Events displays all events for a given category in descending alphabetic order.

Add Action (+) is a pop-up menu of actions that can be attached to the currently selected element. When you select an action from this list, a dialog box appears in which you can specify parameters for the action. If all of the actions are dimmed, then there are no events that can be generated by the selected element.

Delete (–) removes the selected event and action from the behavior list.

Up and down arrow buttons move the selected action up or down in the behavior list for a particular event. Actions for a given event are executed in the specified order. The order of actions can be changed only for a particular event--for example, you can change the order in which several actions occur for the onLoad event, but all the onLoad actions stay together in the behavior list. The arrow buttons are disabled for actions that can’t be moved up or down in the list.

Events (the menu that appears when you click the arrow button next to the selected event name in the behavior list) is a pop-up menu of all the events that can trigger the action. This menu is visible only when an event in the behavior list is selected. Different events appear depending on the object selected. If the events you expect don’t appear, make sure the correct page element or tag is selected. (To select a specific tag, use the tag selector at the bottom left of the Document window.) Also make sure you’ve selected the correct browser or browsers in the Show Events For submenu.

Show Events For (the submenu in the Events menu) specifies the browsers in which the current behavior should work. The selection you make from this menu determines which events appear in the Events pop-up menu. Older browsers generally support fewer events than newer browsers, and in most cases, the more general your choice of target browsers, the fewer events are shown, because only events that are available in all of the requested browsers are shown. For example, if you select 3.0 and Later Browsers, then the only events you can select are those that were available in Netscape Navigator and Microsoft Internet Explorer versions 3.0 and later--a very limited list of events.



Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Inserting and Formatting Text
Adding Audio, Video, and Interactive Elements
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly