1. Home
  2. Computing & Technology
  3. Web Design / HTML

What is a Dreamweaver Behavior?

By , About.com Guide

Dreamweaver CS3

Dreamweaver CS3

Image courtesy Adobe
Question: What is a Dreamweaver Behavior?
Answer:

Dreamweaver behaviors are a way to add scripting events to the elements on your Web page. Dreamweaver writes the JavaScript and the event attribute for you. You can create behaviors to:

  • check for a specific browswer version
  • open a new browser window
  • play a sound
  • write a popup message
  • change text elements
  • call a custom JavaScript script
  • and so much more

When you insert a behavior on an element on your Web page, Dreamweaver will place a script in the <head> and place the appropriate browser event attribute in your HTML tag.

Dreamweaver comes with 27 built-in behaviors and you can install more through Dreamweaver extensions.

Explore Web Design / HTML
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML Editors and Software
  5. HTML Editors
  6. Dreamweaver
  7. Dreamweaver Tips
  8. What is a Dreamweaver behavior - Dreamweaver behaviors FAQ>

©2010 About.com, a part of The New York Times Company.

All rights reserved.