Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Re: Please help with a window closing problme
- From: javascript@xxxxxxxxxx (Cutter (javascript list))
- Subject: [Javascript] Re: Please help with a window closing problme
- Date: Mon, 19 Aug 2002 08:38:18 -0400
How about an onunload event that redirects the parent? Cutter Roland Dong writes: > Thanks for your reply. > > Basically, I have a login page, a popup page and a menu page. When a user > logins, a small window will pop up with a announcement(popup page). If the > user clicks the "continue" button inside the popup window, the popup window > will close and a new page--menu page--will open. > > Since the login page is a jsp. That is why it goes blank > if user click the "cross" to close the window instead of the "continue" > button. > > I am wondering how I could code that action, mouse clicking the cross to > close window, with javascript so that if a mouse clicking on the cross is > detected, the popup window should close and a new page should open. > > Thanks again for your reply. > > Roland > > > On 8/17/02 10:25 PM, "Peter Brunone" <peter@xxxxxxxxxxx> wrote: > >> Roland, >> >> I don't understand. You want to close the window, and *then* redirect to >> another page? Is there another window involved, and if so, which is the >> parent and which is the child? >> >> Cheers, >> >> Peter >> >> |-----Original Message----- >> |From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On >> |Behalf Of Roland Dong >> | >> |How can I have the user redirected to another page after the user >> |closes the >> |window by clicking he cross on the upper right corner or upper left corner >> |of a browser? >> | >> |Of course I could add javascript close() to close the window. But >> |sometimes >> |users like to click that little cross to close the window. When >> |that happens >> |I want the user be redirected to a new page. How can I do it? >> | >> |Thanks >> | >> |Roland >> >> _______________________________________________ >> Javascript mailing list >> Javascript@xxxxxxxxxx >> https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript
- References:
- [Javascript] Please help with a window closing problme
- From: Roland Dong
- [Javascript] Please help with a window closing problme
- Prev by Date: [Javascript] Please help with a window closing problme
- Next by Date: [Javascript] Disabled property for input
- Previous by thread: [Javascript] Please help with a window closing problme
- Next by thread: [Javascript] Please help with a window closing problme
- Index(es):