- 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
HELP, I'VE BEEN FRAMED, AGAIN!
Framed against your will? How do you keep your pages from being frame-napped and placed in someone else's frameset? Here's the JavaScript to place in pages you want to keep frameless:
<script language="JavaScript"> if (self.parent.frames.length!=0){ self.parent.location.replace(document.location.href) } </script>
If you want to keep your hand-coding to a minimum, another solution is to add the Thierry Koblentz Break Out Of Frames extension (available from the Dreamweaver Exchange) to your page. Not adverse to a minimum of handiwork? Turn the preceding code into a snippet and apply at your leisure.