• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. Working with Behaviors > What Is a Behavior?

What Is a Behavior?

A behavior is composed of three elements: an event, an event trigger, and a resulting action (see Figure 11.1). An event is generally a user-based interaction with an HTML object that initiates the action, such as the double-click of a mouse or the loading of the page. A trigger is the web object (slice, hotspot, or button) that is acted on by the event to cause the desired action. Common resulting actions include the swapping of one image for another, the opening of another window, or the replacement of a current document with another document.

Figure 11.1. The anatomy of a behavior.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint