CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Other Programming Languages: Javascript:
Close Window and Redirect

 



varo
stranger

Aug 29, 2001, 11:40 PM

Post #1 of 2 (16020 views)
Close Window and Redirect Can't Post

How can I use a close window script but redirecting the user to a new window?



DrZed
User

Sep 20, 2001, 9:57 AM

Post #2 of 2 (16013 views)
Re: Close Window and Redirect [In reply to] Can't Post

Do you really need to close the window? It sounds like you should simply redirect the current window to the new href. For example:

location.href = "http://www.whereever.com/";

If you have a reason for wanting to close and re-open a window, please specify why.


"It's like living the in future."

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives