What are "behaviors" in Dreamweaver?
"Behaviors", as they are called by Dreamweaver, are interactive enhancements which give a Web page the ability to accept user interactions (called "events"), and provide responses to the events (called "actions".)
HTML can display only static, unchanging material. A behavior (event and action) is implemented with computer programming instructions written in a language called JavaScript, which reacts to an event and produces the intended action or effect. The JavaScript instructions are placed into the Web page with the HTML. Browsers, such as Netscape and the Internet Explorer, contain a built-in JavaScript "interpreter" which executes the JavaScript instructions, providing us with the desired effect.
Some of the behaviors illustrated in "Having fun with JavaScript" can be created within Dreamweaver without manually writing JavaScript. Dreamweaver provides menu selections which automatically insert the JavaScript into your web pages to produce the desired effect (behavior).