Hour 16. Inserting Scripted Functionality with Behaviors

Dreamweaver behaviors enable you to add interactivity to your Web pages. Interactivity usually requires coding in JavaScript, but Dreamweaver adds all the JavaScript for you so you don't have to understand scripting to use behaviors. Behaviors enable you to make something happen when the viewer clicks the mouse, loads a Web page, or moves the cursor. You used your first behavior, the Go To URL behavior, in Hour 13, “Understanding and Building Frames and Framesets.”

Because some JavaScript doesn't work with older browsers, Dreamweaver enables you to choose browser versions. When you target 4.0 or higher versions of Internet Explorer or Netscape, you have access to many more behaviors than ...

Get Sams Teach Yourself Macromedia® Dreamweaver® MX in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.