I used the Sitepoint AJAX/jQuery examples at Easy Ajax with jQuery Article » SitePoint and built my own chat application to run on my server. I have everything working and running fine but have one small problem to resolve.
I'm hoping to use this as a helpdesk supplement so when chatting, one of the clients may minimize, or blur, their chat window to perform a task requested of them. Now what I'm looking for is a method to notify the "blurred" user that a new message has been posted for them to look at. I tried changing the title of the document that's shown in the task bar but for some reason couldn't isolate the "blurred" client only; all clients changed. I also tried window.setfocus() but that gets really annoying to users when they are forced into a window when they're not ready. I just need something to let them know there's a new message. Any suggestions are welcome. Thanks in advance.


Reply With Quote






Bookmarks