Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Q on wondow.focus()


  • From: javascript@xxxxxxxxxx (Trey H)
  • Subject: [Javascript] Q on wondow.focus()
  • Date: Thu, 28 Mar 2002 04:48:43 +0000

I tried typing this in to my window:

<body onBlur='window.focus()'>

It worked for me.  Just make sure to keep the B capital.  You were very 
close, but not quite there!

====================================
Trey: tutwabee@xxxxxxxxxxx
Get free JavaScripts at the Blue Dragon!
Just go to:
http://www.websiter.biz
====================================



>From: "Walter Torres" <walter@xxxxxxxxx>
>Reply-To: javascript@xxxxxxxxxx
>To: <javascript@xxxxxxxxxx>
>Subject: [Javascript] Q on wondow.focus()
>Date: Wed, 27 Mar 2002 22:28:11 -0600
>
>I would like to have a way to force a window forward, top most, whenever a
>user clicks off the window I popped up.
>
>I did this in the new window...
>
>     <body onblur='window.focus()'>
>
>and...
>
>     <body onblur='self.focus()'>
>
>
>All this did was make the button on the START bar (that represents the
>window) flash. The window did not come forward.
>
>Any ideas?
>
>And I can't use modalDialog or modelessDialog, unless you know of a way for
>these window types to accept reply data from a submit process.
>
>Walter
>
>_______________________________________________
>Javascript mailing list
>Javascript@xxxxxxxxxx
>https://lists.LaTech.edu/mailman/listinfo/javascript






_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com