Using Behaviors
443
Updating a behavior
If your pages contain behaviors created with Dreamweaver 1 or Dreamweaver 2,
those behaviors are not updated automatically when you open the pages in
the current version of Dreamweaver. However, when you update one occurrence
of a behavior in a page (by following the procedure below), all other occurrences
of that behavior in that page are also updated. Behaviors created in Dreamweaver
3 work without modification in Dreamweaver 4.
To update a behavior in a page:
1
Select an element that has the behavior attached to it.
2
Open the Behaviors panel.
3
Double-click the behavior.
4
Click OK in the behavior’s dialog box.
All occurrences of that behavior in that page are updated.
Creating new actions
Actions consist of JavaScript and HTML code. If you are proficient with
JavaScript, you can write new actions and add them to the Actions pop-up menu
in the Behaviors panel. For more information, see
Extending Dreamweaver.
Downloading and installing
third-party behaviors
One of the most useful features of Dreamweaver is its extensibility—that is, it
offers users who are proficient in JavaScript the opportunity to write JavaScript
code that extends Dreamweaver’s capabilities. Many of these users have chosen to
share their extensions with others by submitting them to the Macromedia
Exchange for Dreamweaver Web site.
To download and install new behaviors from the Exchange site:
1
Open the Behaviors panel and choose Get More Behaviors from the
Actions (+) pop-up menu.
Your primary browser opens, and the Exchange site appears. (You must be
connected to the Web to download behaviors.)
2
Browse or search for packages.
3
Download and install the extension package you want.
For details, see “Adding extensions to Dreamweaver” on page 93.
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...