Re: Targetted redirection?

From: Date: Wed, 13 Mar 2002 20:56:10 +0000
Subject: Re: Targetted redirection?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-88394@lists.php.net to get a copy of this message
If you were going to use javascript to do that, use _parent as the target -- that should reuse the window rather than making a new window. -Joe "Erik Price" <pricee@hhbrown.com> wrote in message news:438D870B-36C4-11D6-B9C1-0050E4857868@hhbrown.com... > > On Wednesday, March 13, 2002, at 03:15 PM, Ben Cheng wrote: > > > I have a page within a frame that uses Header() to redirect to another > > page. > > However, I don't want the redirection to take place just within that > > frame > > set. I want the page that it redirects to to cover over the frame. Is > > this > > possible? > > Hm... I don't think that frames were ever intended to be manipulated at > the level of headers! Otherwise you could use a "target" attribute or > something. If you're willing to use a bit of JavaScript, you might be > able to reference a new window or something like a target="_blank" and > THEN call the header() function from there... but that's more of a > workaround than a solution. > > Good luck, sorry I don't have any other ideas. > > > Erik > > > > > ---- > > Erik Price > Web Developer Temp > Media Lab, H.H. Brown > pricee@hhbrown.com >

« previous php.general (#88394) next »