Frances wrote :
> this is for a browser window that contains a chat app that is an
> applet... when browser window is not in focus I would like users to
> somehow get notified when a message arrives, more or less like regular
> IM apps do..
somehow get notified is a bit vague here.
I did with window.focus(), but I don't really want window
> to come into focus, I just want it to 'blink' and then stay
> highlighted..
You want what exactly to blink? The window?
> I tried window.setActive() method (not sure what that
> method does but wanted to try it) but I get obj-non-supported error in
> IE6 with that method.. would appreciate any suggestions.. thank you
> very much..
setActive is not supported either by Mozilla-based browsers.
You posted no sufficient chunk of relevant code. No url. It's kinda
difficult to assist you here.
Gérard
--
remove blah to email me
Frances - 27 Apr 2006 18:15 GMT
> Frances wrote :
>
[quoted text clipped - 4 lines]
>
> somehow get notified is a bit vague here.
yes, it's a 'bit vague' b/c don't know I will do it yet....:)
> I did with window.focus(), but I don't really want window
>
>> to come into focus, I just want it to 'blink' and then stay highlighted..
>
> You want what exactly to blink? The window?
when a window is minimized you can only see top blue bar (where HTML
title goes..) if possible I'd like that to blink (I tried having text
scroll across that area, but this is not a solution for XP, where
browser windows are stacked and you won't see the text scrolling..)
essentially I would like roughly same behavior as normal desktop IM
apps.. don't know if this is possible with browser windows..
would really appreciate some ideas.. thank you.. Frances
Touffy - 30 Apr 2006 01:52 GMT
> when a window is minimized you can only see top blue bar (where HTML
> title goes..) if possible I'd like that to blink (I tried having text
> scroll across that area, but this is not a solution for XP, where
> browser windows are stacked and you won't see the text scrolling..)
> essentially I would like roughly same behavior as normal desktop IM
> apps.. don't know if this is possible with browser windows..
What you ask is impossible with JavaScript, unless maybe IE allows some
IE and Windows-specific code with all security options deactivated.
Besides, may I ask what you had planned for non-IE or non-XP users who
don't have a Windows(tm) XP taskbar anyway ?
What you can do cross-platform is open() a notification popup and
quickly close() it. Of course, there are pop-up blockers now...
Another option is to play a sound to notice the user, provided he can
decode the sound file, has speakers, etc.
Actually you should implement both methods and let the user choose,
letting them know on the same occasion that they should let your
pop-ups through.

Signature
David Junger