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

Chapter 16. Behavior Modification > Deleting and Editing Behaviors

Deleting and Editing Behaviors

After you create a behavior, you can remove it or edit it. To attach a behavior to a different object, you must delete it and re-create it (unless you want to edit the JavaScript).

To select a behavior

1.
In the Document window (or the Tag selector), click on the object to which you applied the behavior. The event(s) associated with that object will appear on the Behaviors panel (Figure 16.11).

2.
If you want to display only those events that are actually in use, click the Show Set Events button (Figure 16.12).

Figure 16.12. Click the Show Set Events button to limit the displayed items to those actually in use. Here, I've attached four different actions to the <body> tag's onLoad event.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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