• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: IV Dynamic HTML: Layers, Cascading... > Inserting Scripted Functionality wit...

Hour 16. Inserting Scripted Functionality with Behaviors

Dreamweaver behaviors enable you to add interactivity to your Web pages. 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. Behaviors enable you to make something happen when the viewer clicks the mouse, loads a Web page, or moves the cursor. You used your first behavior, the Go To URL behavior, in Hour 13, “Understanding and Building Frames and Framesets.”

Because some JavaScript doesn't work with older browsers, Dreamweaver enables you to choose browser versions. When you target 4.0 or higher versions of Internet Explorer or Netscape, you have access to many more behaviors than if you target 3.0 browsers. Dreamweaver also enables you to select Netscape and Internet Explorer because these browsers sometimes capture different event triggers. Dreamweaver behaviors are written to work in both Internet Explorer and Netscape.

In this hour, you will learn

  • What a Dreamweaver behavior is

  • How to apply a behavior to an object in your Web page

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

  • How to select events to trigger behaviors


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint