- CHANGING LAYER STACKING ORDER
- DRAWING MULTIPLE CONSECUTIVE LAYERS
- LAYERS LIKE YOU LIKE 'EM
- TAKING PREVENTATIVE MEASURES
- MOVIN' AND GROOVIN' AND LAYIN' TO THE BEAT NOW
- NO SPECIAL MAGIC REQUIRED
- PUT THOSE LAYERS IN THEIR PLACE
- SUPER SIZING LAYERS
- NO TRESPASSING
- NESTING URGES
- THE OBVIOUS ESCAPES US SOMETIMES
- CHANGE LAYER CONTENTS
- INSERT DIV TAG
- FRAMESETS-A-PALOOZA
- SPLITS ARE ALL RELATIVE
- QUICK DRAW FRAMESETS
- WHY SO BLUE?
- GETTING IN TOUCH WITH YOUR INNER FRAMESET
- PLAYING THE FRAME NAME GAME
- A FRAMESET BY ANY OTHER NAMESET
- KEEPING FRAMES IN THEIR PLACE
- HELP, I'VE BEEN FRAMED, AGAIN!
- TARGETING MULTIPLE FRAMES
- OODLES OF UNDO-ODLES
- CREATING ACCESSIBLE FRAMES
- DÉJÀ VU FRAMES
- THE GUIDING LIGHT
NO SPECIAL MAGIC REQUIRED
You needn't be a DHTML wizard to show and hide layers. Dreamweaver makes it easy with the Show-Hide Layers behavior. Draw a layer where you want it to appear. While you have the link that will trigger the eventbe it text or an imageclick the Add (+) button on the Behaviors panel and then select the Show-Hide Layers behavior from the drop-down list. Each layer is listed by its ID in the Named Layers field. Select each layer that you want to reveal or conceal and then click the Show or Hide button. The Default button resets the layer so that its current state is unchanged by this event. Just think of all the cool menus you can create using this behavior. If you find yourself managing more than four layers with this behavior often, be sure to check out "Show More Layers" in Chapter 10.