In This Chapter
- Behavior basics
- Dreamweaver Technique: Incorporating Behaviors
- Adding a behavior’s event and action
- Dreamweaver Technique: Modifying Behaviors
- Looking at the standard behaviors
Creating behaviors is one of the more challenging Dreamweaver features to master. Implementing these gems, however, is a piece of cake. This chapter examines the concepts behind behaviors and the reality of using them. It details the use of all the behaviors included with Dreamweaver, as well as some from notable third-party sources. This chapter also contains tips for managing your ever-increasing library of behaviors.
Understanding Behaviors, Events, and Actions
A behavior, in Adobe parlance, is the combination of an event and an action. In the electronic age, you push a button (the event) and something (the action) occurs—such as changing the channel on the TV with your remote.
In Dreamweaver, events can be something as interactive as a user’s click of a link or as automatic as the loading of a web page. Behaviors are said to be ...