PDA

View Full Version : Focus() - blur() ??


kitzen
04-25-2003, 03:05 PM
HALLO!!

Easy to understand my problem!

First I am doing a chat!

My problem is!
When the user isnīt with focus in my chat and he receive a msg I wanna to blink the browser?? not to do a focus, only blink!
How can I do this??

Like when you put onblur="self.focus()" in the <body>!
But this event only happen one time!!


Thank
Denis :confused:

stfurca
02-26-2005, 09:50 AM
I'm also searching for something like this

can anybody help us??

ArcticFox
02-26-2005, 11:18 PM
Sounds like you may want something like;

"Event" > focus window > (on timeout) blur window

This is possible...

stfurca
02-27-2005, 07:43 PM
yeah... but if I focus a window then the one which was on top losess it and I don't know how to make that the window which was on top could get the focus back ;/

ArcticFox
02-27-2005, 09:16 PM
I'm not sure, but when the window goes blur(), doesn't the other one regain focus? :confused: