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

Chapter 17. Controlling Layers with JavaScript > Controlling Layer Visibility

Controlling Layer Visibility

One of the simplest, and most reliable, layer properties you can control with scripting is visibility. By dynamically hiding and showing layers, you can create pages that store much more information than is visible at any given time. The designer’s buzzword for this is nested content. Nested content can include contextual information popping up where needed, drop-down navigation menus, and different sets of body content that display as users click navigation controls. The possibilities are limited only by the designer’s imagination and ingenuity.

You control layer visibility in Dreamweaver with the Show-Hide Layers behavior. As Figure 17.1 shows, it’s simple and straightforward to use.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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