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 simple, such as calling a client-side script, to complex, 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 working with behaviors ...

Get Microsoft now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.