Re: Problem getting focus

Andrei Voropaev <[email protected]>
Newsgroups gmane.comp.mozilla.devel.unix
Message-ID <[email protected]>
On 2005-02-07, Matt <[email protected]> wrote:
> Hi,
> I'm trying to get a window (in this case an operator's chat monitor 
> window) to pop to the foreground when I say 'go' so that I can get their 
> attention.    It works fine in IE.. however, I do not seem to be able to 
> get mozilla on linux to pop to the foreground at all.. and can only get 
> windows mozilla to pop to the foreground if I don't have it minimized 
> (it clicked on another window).
>
> I am using:
>
><body onload="parent.window.focus();">
>
> I have also tried just:
><body onload="window.focus();">
>
> Any thoughts?  This is tried with Mozilla 1.8a5 as well as 1.7

That might be specific to your window manager. Under X windows usually
you can configure what does window manager do with windows that get
focus.

-- 
Minds, like parachutes, function best when open
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.