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 (javascript@xxxxxxxxxx)
  • Subject: [Javascript] Q on wondow.focus()
  • Date: Thu, 28 Mar 2002 09:37:37 -0500

It's not just IE 6.0.  Windows 2000 and Windows XP both have options that
will limit the way an active window can take control of the desktop.  The
old default behavior was to bring a window requesting priority to the top.
The new deault behavior is to indicate that the window wants attention by
flashing the task bar button corresponding to the program.  This is so that
while you're typing away in, say, MS Word, a random process doesn't suddenly
pop a window to the top, causing you to mistype/lose data/etc.

-Stephen

-----Original Message-----
From: Dan Costea [mailto:costea.dan@xxxxxxxxxxxxxxx] 
Sent: Thursday, March 28, 2002 11:32 AM
To: javascript@xxxxxxxxxx
Subject: Re: [Javascript] Q on wondow.focus()


The behavior of the window.focus() is depending of the IE version. Until
IE6, window.focus() did bring the window in the front; IE6 is not bringing
the window in the front, it just flash it's name on the status bar. Probably
Microsoft took this decision because of security reason. And I don't think
there is a way to bring the window in the front with IE6.

Dan.


----- Original Message -----
From: "Walter Torres" <walter@xxxxxxxxx>
To: <javascript@xxxxxxxxxx>
Sent: Wednesday, March 27, 2002 8:28 PM
Subject: [Javascript] Q on wondow.focus()


> 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