PDA

View Full Version : Flashing the window



Xunil
11-18-2005, 08:13 PM
I have created my own chat for my website, it works fine. However, the nice thing about Yahoo and MSN etc is the fact the screen flashes when someone types something new. Now, the only thing I have found so far is ability to change the title and make it blink but that is retarded and cheesy. I read somewhere function getattention works in mozilla/netscape, but not in IE.

I can only assume after 3 hours of searching boards, forums, newsgroups that there is no way to do this with javascript or it would be out there by now, but I want something that flashes the window only when minimized and stops flashing on restore.

IS this possible or not?

Thanks in advance for your time.

Xunil Ekardnam

Twey
11-18-2005, 08:26 PM
Don't think so, no. My MSN client (aMSN (http://amsn.sf.net/)) flashes the titlebar message between the original title and "New message," which looks OK.

P.S. I'm a Fedora user :p

jscheuer1
11-18-2005, 08:38 PM
window.focus()

executed on a minimized window will flash the minimized window and stop when the window is brought to the top but, will also bring the window to the top automatically under certain conditions.