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

Chapter 14. Controlling Layers with Java... > Controlling Other Layer Properties

Controlling Other Layer Properties

You’ve changed visibility, you’ve changed the contents, and you’ve dragged layers around. However, those are only a few of the layer properties you can control. Depending on which browser(s) you’re scripting for, you can change background color, position, width and height, style, and clipping—you name it. The Dreamweaver general, all-purpose behavior for controlling everything not covered by other behaviors is Change Property.

Using the Change Property Behavior

This behavior isn’t just for changing layer properties. It’s more of a catchall behavior for changing any property of any scriptable page element. Depending on the browser you’re targeting and the DOM it supports (see the discussion on DOMs at the beginning of this chapter), you can change properties for form elements, various kinds of layers, and even images. Figure 14.28 shows the Change Property dialog box with its various parts identified. (See Chapter 9, “Working with Forms,” for a discussion of using this behavior with form elements.)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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