Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 12th, 2007, 06:30 AM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Yahoo to serveshsaxena
Default how to blink window in minimized state

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.



The Following User Says Thank You to serveshsaxena For This Useful Post:
chakri (December 14th, 2011)
 
Old January 13th, 2007, 12:55 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Popup window automatically minimized on click! elisabeth Javascript How-To 19 January 29th, 2017 02:43 AM
Session State|View State|Do I have other options? rockon ASP.NET 1.x and 2.0 Application Design 2 October 5th, 2005 07:10 PM
Restoring minimized window gbianchi Pro VB 6 2 July 11th, 2005 02:23 PM
how to blink the minimized window vickyj Classic ASP Basics 0 January 25th, 2005 07:18 AM
New created popup window automatically minimized! elisabeth Javascript How-To 1 September 21st, 2004 07:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.