1. Computing

Discuss in my forum

How To Add a Dreamweaver Behavior

By , About.com Guide

Dreamweaver CS5

Dreamweaver CS5 Box Shot

Image courtesy Adobe

Dreamweaver behaviors are an easy way to add scripts and actions to your web pages. This tutorial will explain how to use Dreamweaver behaviors to add actions to your web pages.

Dreamweaver Behaviors are Supported by the Following Dreamweaver Versions

Dreamweaver CS5
Dreamweaver CS4
Dreamweaver CS3
Dreamweaver 8
Dreamweaver MX 2004
Dreamweaver MX
Dreamweaver 4
Dreamweaver 3
Dreamweaver 2

Difficulty: Average
Time Required: 5 minutes

Here's How:

  1. Open an HTML page in Dreamweaver
  2. Open the Behaviors pane (Window > Behaviors or Shift-F4)
  3. Highlight the element you want to set a behavior on — this could be an image, a link, or even text in some cases
  4. Click on the plus icon in the Behaviors pane
  5. Select the behavior you'd like to apply
  6. Some behaviors have additional options to set
  7. Verify that the browser event attribute is the one you want to use
  8. Save your web page

What You Need

  • Dreamweaver

©2013 About.com. All rights reserved.