vijay Posted August 30, 2007 Share Posted August 30, 2007 Hi.. If am working on 2-3 browser's window.. so at a time only one is active and others are minimized.. if in other window if some event occur then I want blinking that window in task bar or want to front/restored that window.. how can is it possible with javascript..?Thanks & Best Regards,Vijay Link to comment Share on other sites More sharing options...
justsomeguy Posted August 30, 2007 Share Posted August 30, 2007 If it's a specific event you want to target, then you can probably use window.focus in the event handler. Link to comment Share on other sites More sharing options...
vijay Posted August 30, 2007 Author Share Posted August 30, 2007 Hi.. I have tried its not working.. is there any other way..? or could u show me example?-Vijay Link to comment Share on other sites More sharing options...
justsomeguy Posted August 30, 2007 Share Posted August 30, 2007 function handle_event(){ window.focus();} You can set that function to be the event handler for whichever event you want to cause the window to focus. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.