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

12.3. Hiding and Showing Layers

Do you ever stare in awe when a magician makes a handkerchief disappear into thin air? Now you, too can perform sleight of hand, right on your very own Web pages, making layers disappear and reappear with ease. Although it's not magic, Dreamweaver's Show-Hide Layers behavior is undoubtedly a nifty piece of JavaScript programming.

Show-Hide Layers takes advantage of the Visibility property of layers on your page. You can use it for things like adding pop-up tooltips to your Web page, so that when a visitor's mouse moves over a link, a layer appears with a more detailed explanation of where the link goes (see Figure 12-8).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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