
Chapter 18
436
Dreamweaver provides about two dozen behavior actions; additional actions can
be found on the Macromedia Exchange Web site as well as on third-party
developer sites. (See “Downloading and installing third-party behaviors” on page
443.) You can write your own behavior actions if you are proficient in JavaScript.
For more information on writing behavior actions, see
Extending Dreamweaver.
Note:
The terms
behavior
and
action
are Dreamweaver terms, not HTML terms. From the
browser’s point of view, an action is just like any other piece of JavaScript code.
Using the Behaviors panel
Use the Behaviors panel to attach behaviors to page elements (more specifically to
tags) and to modify parameters of previously attached behaviors.
To open the Behaviors panel, choose Window > Behaviors.
The tag that’s currently selected in the Document window appears in the title bar of
the Behaviors panel. Behaviors that have already been attached to the currently
selected page element appear in the behavior list (the main area of the panel), listed
alphabetically by event. If there are several actions for the same event, the actions
appear in the order in which they will execute. If no behaviors appear in the behavior
list, then no behaviors have been attached to the currently selected element.
For detailed information about the options in the Behaviors panel, see
Dreamweaver Help.
About events
The following list describes the events that you can associate with the actions listed
in the Behaviors panel’s Actions (+) pop-up menu. When a visitor to your Web
page interacts with the page—for example, by clicking an image—the browser
generates events; those events can be used to call JavaScript functions that cause an
action to occur. (Events can also be generated without user interaction, such as
when you set a page to automatically reload every 10 seconds.) Dreamweaver
supplies many common actions that you can trigger using these events.
The list also specifies which browsers can generate each event.
NS3
means
Netscape Navigator 3.0;
NS4
means Netscape Navigator 4.0;
IE3
means Internet
Explorer 3.0;
IE4
means Internet Explorer 4.0. For more information about
events in Microsoft Internet Explorer, see the Microsoft Dynamic HTML events
page (listed in “HTML and Web technologies resources” on page 25).
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...