[Javascript] Return to previous window

Dan Costea costea.dan at ssi-schaefer.ro
Mon May 27 16:44:43 CDT 2002


In the second window, when you want to go back to the first window, just
write:
    top.opener.focus ();
and the first window will pop up.

Dan.


----- Original Message -----
From: <EVA.KAESER at Allianz.de>
To: "JAVASCRIPT" <JAVASCRIPT at LaTech.edu>
Sent: Monday, May 27, 2002 4:31 AM
Subject: [Javascript] Return to previous window


> --- Erhalten von  L.LS91KAE 1021-1885               27.05.02 13.31
>
>   -> JAVASCRIPT at LATECH.EDU
>
> Dear all,
>
> I have a question concerning window communication.
>
> Clicking on a link, a new window opens. But then I want to make it
> possible that you return to the old window when clicking on a link
> in the new window. I don't need to exchange any more data between
> the windows. The second window is just there to run an application
> separately from the first one. But sometimes the application
> contains a link to our intranet which is in the first window. And
> as I don't want to open a third window it would be useful to just
> return to the first one. Can anybody help?
>
> Thanx a lot,
> Eva
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list