PDA

View Full Version : How to alert message from taskbar like bubble?



livinglegends
16 May 2011, 12:24 AM
Hi,

I want to pop up alert message from taskbar (from area where date and time displays in window : bottom right corner).

e.g.: If yahoo messenger is on and any one from friend list gets online so we get one bubble alert saying your friend is online and then its hide after 3-5 seconds. I want same using extjs.

How to do it? is there any component for this?

I have referred saki's example site where he has used Ext.ux.window.MessageWindow to pop up alert like this but didn't get this MessageWindow js anywhere to include it in my project.

Plz guide me how to achieve this?

Thanks
Livinglegends

grgur
16 May 2011, 12:10 PM
If you are referring to notifications your users will receive even if their browser tab is out of focus or minimized, afaik only Chrome (Chromium) supports is natively. There is a plugin available for FF4. Not sure about IE, though.

Notifications are currently in HTML5 draft status: http://dev.w3.org/2006/webapi/WebNotifications/publish/

You can read more about how to use it in Chromium here: http://www.html5rocks.com/tutorials/notifications/quick/