Chapter 15. Adding Animation and JavaScript

Animated and interactive Web pages are more dynamic, more active, and often more effective than static pages. Animation refers to page elements moving on the page. Interactivity means that objects on the page react when a visitor performs an action at a Web site. A box drops from the top of the browser window informing visitors of exciting news. A button changes color when a visitor hovers a mouse cursor over it. A sound goes off when a visitor clicks a button. These and many other animated and interactive elements can be generated right in Dreamweaver.

Dreamweaver generates animation and interactivity through something called behaviors. These behaviors mainly use JavaScript—a coding language that enables ...

Get Macromedia Dreamweaver 8 How-Tos: 100 Essential Techniques 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.