Click to See Complete Forum and Search --> : focus() - blur()??


kitzen
04-25-2003, 09:03 AM
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:

AdamBrill
04-25-2003, 10:36 AM
What you need to do is put a window.focus() command in the function that runs when you get a new message(if there is one). If there isn't one, you would have to make one for it to work...