Re: Java pop up

From: Steve Easton (admin_at_95isalive.com)
Date: 04/16/04


Date: Fri, 16 Apr 2004 09:17:57 -0400

I'm thinking they meant javascript.
onblur="parent.close()" will work as a stand alone and close the page when
it looses focus. ( is minimized to the taskbar )
If the pop up is a child page it will simply close. If it isn't a child
page the viewer will receive the prompt about attempting to close the window
and will have to click Yes.

-- 
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
"Tom Pepper Willett" <tompepper@mvps.org> wrote in message
news:eaRC4M0IEHA.964@TK2MSFTNGP10.phx.gbl...
> Steve:  Will that work with Java (which is what the OP was addressing).
> Or, did the OP mean Javascript?
> -- 
> -----
> Tom Pepper Willett
> Microsoft MVP - FrontPage
>   http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
>   http://msdn.microsoft.com/office/understanding/frontpage/
> ----
> "Steve Easton" <admin@95isalive.com> wrote in message
> news:%23g1DHkxIEHA.1608@TK2MSFTNGP11.phx.gbl...
> | Try adding the following to the body tag in the pop up.
> |
> | onblur="parent.close()"
> |
> | Or you could also just add  parent.close();    to the function that
> launches the
> | calendar window.
> |
> |
> | -- 
> | Steve Easton
> | Microsoft MVP FrontPage
> | 95isalive
> | This site is best viewed..................
> | ..............................with a computer
> | "Webmaster" <anonymous@discussions.microsoft.com> wrote in message
> | news:1d67c01c42310$75afc940$a101280a@phx.gbl...
> | > I use a java pop up to select a month which shows a
> | > calender of events in that month. I used code from a
> | > website which offers code of the type. Can I get the pop
> | > up to close when the selected month page opens. I have a
> | > close button on the popup and I know it will go into the
> | > back ground when I click outside of it, but I would like
> | > it to close automatically. Can this be done. I will need
> | > code to insert in Front Page.
> |
> |
>
>