|
Subject:
|
how to blink window in minimized state
|
|
Posted By:
|
serveshsaxena
|
Post Date:
|
1/12/2007 5:30:39 AM
|
dear all i am developing a chat application in asp. i need to highlight window in minimized state as it recieves a message using javascript.
|
|
Reply By:
|
richard.york
|
Reply Date:
|
1/13/2007 11:55:23 AM
|
You can try to focus the window with window.focus(). But that doesn't always work the way you might expect it to. There's no API that I'm aware of in standard JavaScript that causes minimized windows to flash. Also, not every platform handles that that way. Mac icons bounce, for example, when they want your attention. Linux, not so sure about, never used an application that would want to grab my attention on that platform. I'd guess it'd handle that similar to Windows.
If you find out about a method of doing that, I'd love to here about it.
Not even sure of what terms to Google on for that. Anybody know what that functionality is called?
Regards, Rich
-- Author, Beginning CSS: Cascading Style Sheets For Web Design CSS Instant Results
http://www.catb.org/~esr/faqs/smart-questions.html
|