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

Hour 16. Inserting Scripted Functionalit... > Showing and Hiding Layers

Showing and Hiding Layers

Now you're ready to add your first behavior. The Show-Hide Layers behavior has a name that 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.

Selecting the Behavior

You will now use the Show-Hide Layers behavior to create a layer that your 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.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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