Previous Section  < Day Day Up >  Next Section

Chapter 12. Dreamweaver Behaviors

Chapter 5 makes clear how easy it is to add mouse rollover effects using Dreamweaver's Rollover Image object. That and other interactive features rely on scripts (small programs) written in the JavaScript programming language.

You could create the same effects without Dreamweaver, but you'd need to take a few extra steps: Buy a book on JavaScript, read it from cover to cover, learn about concepts like array, function, and document object model, and spend weeks discovering the eccentric rules governing how different browsers interpret JavaScript code differently.

With Behaviors, however, Dreamweaver lets you add these dynamic JavaScript programs to your Web pages without doing a lick of programming.

NOTE

If you're used to Dreameaver MX (the pre-2004 version), you might notice that Macromedia hasn't added any new behaviors to the 2004 version. In fact, a few JavaScript tricks條ike animated layers and Dynamic HTML Timelines梙ave been removed.

    Previous Section  < Day Day Up >  Next Section