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

Chapter 13. Interactivity with Behaviors > Working Smart with Behaviors

Working Smart with Behaviors

The fun of using Dreamweaver behaviors is what you can do with specific behaviors to snazz up your page or make it that much more functional. The hard part is getting used to the quirks each behavior brings with it and knowing how to use each one well.

The Ins and Outs of Selecting Linked Images

If you want a behavior to be triggered by rolling over or clicking an image, you have a choice: Make the image a null link and attach the behavior to the a tag, or attach the behavior directly to the img tag. The first gets coded like this:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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