File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes window.focus() -- unusual problem.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "window.focus() -- unusual problem.." Watch "window.focus() -- unusual problem.." New topic
Author

window.focus() -- unusual problem..

Veronica Damian
Ranch Hand

Joined: Feb 04, 2006
Posts: 61
this is for a browser window that contains a chat app that is an applet... when browser window is not in focus I would like users to somehow get notified when a message arrives, more or less like regular IM apps do.. I did with window.focus(), but I don't really want window to come into focus, I just want it to 'blink' and then stay highlighted.. I tried window.setActive() method (not sure what that method does but wanted to try it) but I get obj-non-supported error in IE6 with that method.. would appreciate any suggestions.. thank you very much..

-v
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
window.focus() is really the only thing that you could use.

Could use those classic title scrollers that could scroll the titlte of a browser, but that will not really help.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: window.focus() -- unusual problem..