Re: Frames closing

by "Norman Bunn" <norman.bunn(at)craftedsolutions.com>

 Date:  Wed, 31 Jan 2001 14:32:30 -0500
 To:  "Juliana Halvorson" <juliana(at)graphmaster.com>,
<hwg-techniques(at)hwg.org>
 References:  graphmaster
  todo: View Thread, Original
Here's what probably is happening.  In the site you are accessing they have
something like this on the page (sorry, I couldn't get to your site):

<BODY TOPMARGIN=0 MARGINHEIGHT=0 BGCOLOR="#FFFFFF" onLoad="if (self != top)
top.location = self.document.location;">

Note the "onLoad" function.  It looks to see if it is in a frame (self !=
top) and then breaks out of the frame.

Not sure there is much you can do about it.  To make matters worse, when the
user hits the back button, it goes back to the framed version which
immediately takes them back to where they were.  This means the user has to
hit the back button twice, quickly.

When I run into this, I simply put the site in a separately launched window
to keep from aggravating the user too much.  Of course in some browsers the
new window is place right on top of the current window, thus confusing the
user again.

Norman
www.craftedsolutions.com

>
> I created a web page for a client at http://www.prepaidglobal.com  He is
an
> affiliate and would like his banner on screen at all times.  The problem
is
> that the company has set some of their links to get out of the frames.  Is
> there any way to over-ride their options.  If not, is there any way to
keep
> the frame or banner on any other way?
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.