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

Show and Hide Layers

Let's use our first behavior. The show-hide layers behavior has a name that is pretty much says it all. You can show or hide a layer on the Web page. You need to have an event that triggers the action.

Select the Behavior

Create a layer that our behavior will affect. The show-hide layers behavior will be grayed out if there aren't any layers in your Web page. It's important to name your layers when using the show-hide layers behavior. The show-hide layers dialog box displays all the layers on the page by name so it helps to have a meaningful name. Type some text in the layer, insert an image into it, or give it a background color. Hide the layer by changing the visibility attribute.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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