W3C home > Mailing lists > Public > www-html@w3.org > May 1998

Re: Open a window and Close Selfwindows (fwd)

From: <jose.kahan@w3.org>
Date: Thu, 28 May 1998 03:20:41 -0400 (EDT)
Message-Id: <199805280720.JAA26968@tuvalu.inrialpes.fr>
To: www-html@w3.org
Date: Wed, 27 May 1998 08:42:18 -0700
To: ether@chariot.net.au, kahan@w3.org
From: Keith Phillips <kphillips@comcastpc.com>
Subject: Re: www-html-d Digest V98 #50

I've tried this before and I don't think blur and focus is a function of a
window, only form elements. The only way I tried to do this was to close
the window and open it again, but this isn't a very graceful solution. 

>> 
>> Vince.
>not really sure what your getting at but have you tried the .focus()
>or .blur() functions ?
>
>EG:
>
>function hit(){
>hitwin=window.open("hitcnt.htm","hitwin","width=125,height=40")
>hitwin.blur()
>        // could have used .focus() to make this window come 		       
>//forward
>}
>
>function closehit(){
>hitwin.close()
>}
>
>
>hope this helps.
>
>Signed
>ether
>
__________________________________________
Keith H. Phillips -- Producer
Comcast Online Communications
http://www.inorangecounty.com/
(714) 424-5233
Received on Thursday, 28 May 1998 03:30:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:36 GMT