Dreamweaver makes adding behaviors as easy as selecting a tag and choosing an action from a drop-down menu in the Behaviors panel.
The Behaviors Panel
The Behaviors panel is your control center for Dreamweaver’s behaviors (Figure 14-1). On it, you can see behaviors that are applied to a tag, add more behaviors, and edit behaviors that you’ve already applied.
You can open the Behaviors panel three ways:
Choose Window→Tag Inspector and click the Behaviors button.
Press Shift+F4 to open the Tag Inspector and click the Behaviors button.
If the Tag inspector is open, click the Behaviors button.
Figure 14-1. Dreamweaver’s Behaviors panel lists all the behaviors you applied to the currently selected HTML tag. Because the same event can trigger multiple actions, Dreamweaver groups the actions by event. In this example, the onClick event for an <a> tag (a hyperlink) triggers ...