Dreamweaver makes adding behaviors as easy as selecting a tag and choosing an action from a pop-up menu—in the Behaviors panel.
The Behaviors panel is mission control for Dreamweaver’s Behaviors. On it, you can see any behaviors that are applied to a tag, add more behaviors, and edit behaviors that are already applied.
You can open the Behaviors panel in any of three ways:
If the Design panel is open on the screen, click the Behaviors tab.
In any case, the panel appears on your screen.
Dreamweaver MX includes two different types of behaviors, and it’s important not to get them confused.
The currently selected tag is indicated at the top of the Behaviors panel, and a list of all of the behaviors applied to that tag, if any, appears below. Each behavior is listed in two parts: events and actions, as described earlier.
Open the Behaviors panel, and then proceed as follows:
Select the object or tag.
You must attach a behavior to an HTML tag, such as a link (indicated by the <a> tag) or the page’s body (<body> tag). Take care, however: it’s easy to apply a behavior accidentally to the wrong tag. Form elements, like checkboxes and ...