[thelist] Avoiding "Orphan" Frames
Seth Bienek
seth at sethbienek.com
Wed Feb 28 13:09:53 CST 2001
> What is the best way to avoid the "orphan" frame syndrome?
Don't use frames.
Seriously, there's a bit of Javascript you can use, but that's your only
defense. NIxing frames is a good idea though, because it affects
accessibility, usability, search engine exposure, etc.. But if you can't be
desuaded, here's a snippet of JavaScript that should do the trick. Put it
in the body tag of your child pages (like so) and you're all set.
<body onLoad="if(parent.frames.length!=0)
top.location='MyFramesPage.html';">
Seth
------------------------------
Seth Bienek
Solutions Development Manager
Stonebridge Technologies, Inc.
972.455.7294 tel
972.404.9754 fax
ICQ #7673959
------------------------------
More information about the thelist
mailing list