HOUR 18. Adding Interactivity with Behaviors

WHAT YOU’LL LEARN IN THIS HOUR:

• What a Dreamweaver behavior is

• How to apply a behavior to an object in a web page

• How to use behaviors to add interactivity to a web page

• How to select events to trigger behaviors

• How to create a drag-and-drop quiz

Dreamweaver behaviors add interactivity to web pages. Behaviors enable you to make something happen when the user clicks the mouse, loads a web page, or moves the cursor. 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.

Tip: JavaScript and Beyond

Use of JavaScript to make pages interactive enables many cool behaviors, as we’re ...

Get Sams Teach Yourself Dreamweaver CS5 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.