21. Using Behaviors
Understanding and Working with Behaviors
Behaviors make it easy for web designers to add interactive and dynamic features to a site. You can insert behaviors that range from performing a simple task such as calling a client-side script, to complex tasks such as configuring a DHTML menu for your site.
Using the Behaviors Panel
Behaviors are inserted from the Behaviors panel, shown in Figure 21.1. The Behaviors panel is the perfect place for behaviors because it allows you to work with them without the interface getting in the way. That’s important because behaviors cannot be inserted and forgotten. After you insert a behavior, there’s plenty of tweaking you can do, and not having to dismiss a dialog between each change makes ...