Re: [PHP] Redirect opening in a new window

2002-11-30 Thread Jason Sheets
Look at javascript, you could use javascript to both open a new window
and set the location or you could use javascript to open the new window
to a PHP script that uses header() to forward the user.

Be aware that some users disable javascript completely or just disable
new windows to avoid popups and pop under advertising.

Jason


On Sat, 2002-11-30 at 12:55, Troy May wrote:
 Hello,
 
 I'm playing with a portal system now and I need to edit a module to redirect
 to another site/page.  I have done this with a header() redirection, but it
 takes the current window.
 
 How can I do this and have it open a new window for the redirect?
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Redirect opening in a new window

2002-11-30 Thread Troy May
That easy solution is not so easy for me.  This portal system is PHP-Nuke.
There's different themes, pages, etc.  It would take me 3 weeks to find and
edit all the links in a 2000 file directory.

I just need to be able to do this from the called module itself, and that
would take care of all the pages/themes in one shot.



-Original Message-
From: Jeffrey B.Ferland [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 30, 2002 12:02 PM
To: Troy May
Subject: Re: [PHP] Redirect opening in a new window


On Saturday 30 November 2002 02:55 pm, you wrote:
 Hello,

 I'm playing with a portal system now and I need to edit a module to
 redirect to another site/page.  I have done this with a header()
 redirection, but it takes the current window.

 How can I do this and have it open a new window for the redirect?

a href=/link.htm target=_blankDisplayed Link/a


-Jeff
SIG: HUP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Redirect opening in a new window

2002-11-30 Thread Maxim Maletsky

isn't there an only module you could modify? Do you really need to edit
2000 pages? I am not NUKE fan, but I am sure there is an easier way
-- 
Maxim Maletsky
[EMAIL PROTECTED]


On Sat, 30 Nov 2002 12:09:33 -0800 Troy May [EMAIL PROTECTED] wrote:

 That easy solution is not so easy for me.  This portal system is PHP-Nuke.
 There's different themes, pages, etc.  It would take me 3 weeks to find and
 edit all the links in a 2000 file directory.
 
 I just need to be able to do this from the called module itself, and that
 would take care of all the pages/themes in one shot.
 
 
 
 -Original Message-
 From: Jeffrey B.Ferland [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, November 30, 2002 12:02 PM
 To: Troy May
 Subject: Re: [PHP] Redirect opening in a new window
 
 
 On Saturday 30 November 2002 02:55 pm, you wrote:
  Hello,
 
  I'm playing with a portal system now and I need to edit a module to
  redirect to another site/page.  I have done this with a header()
  redirection, but it takes the current window.
 
  How can I do this and have it open a new window for the redirect?
 
 a href=/link.htm target=_blankDisplayed Link/a
 
 
 -Jeff
 SIG: HUP
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php