Re: Problem getting focus

Matt <[email protected]>
Newsgroups gmane.comp.mozilla.devel.unix
Organization http://extra.newsguy.com
Message-ID <[email protected]>
Andrei Voropaev wrote:
> 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.
> 

Well this may be... but another web application I've looked at is able 
to bring focus to it... but for some reason I am not.
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.