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

Chapter 11. Layers in Dreamweaver > Adding Interactivity with Behaviors

Adding Interactivity with Behaviors

In the previous chapter, we looked at the many behaviors Dreamweaver includes to facilitate interactivity between your web pages and your users. While we reviewed numerous behaviors that made up different types of functionality depending on what we were working with, there were three behaviors we didn't get a chance to cover because they dealt with a topic we hadn't reviewed up to that point. The three behaviors included the Set Text of Layer, Drag Layer, and Show-Hide Layer behaviors. Now that you've had the chance to review and work with layers, the many properties that are exposed by layers, and how to build a simple website using layers, let's add a twist by introducing how Dreamweaver makes it possible for you to work with behaviors and layers together to enhance the user experience.

Using the Set Text of Layer Behavior

In the previous chapter, we looked at the Set Text of Status Bar and the Set Text of Text Field behaviors, which allow you to dynamically set the text value for either the browser's status bar or a text field when you click a button on the page. The same functionality can be applied to layers using the Set Text of Layer behavior. To use this behavior, follow these instructions:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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