vijay Posted July 24, 2008 Share Posted July 24, 2008 Hi.. I am working on web based chat module.. I want to play sound when window is not active in case of multi tab in browser or window is minimized.. So .. Is there any javascript function for its checking whether window is not active and also I can know window is minimized? Regards,Vijay Link to comment Share on other sites More sharing options...
Kingy Posted July 24, 2008 Share Posted July 24, 2008 I'm sorry I don't quite understand, do you mean detect minimizing something inside a page or the actual browser itself? Link to comment Share on other sites More sharing options...
Jesdisciple Posted July 24, 2008 Share Posted July 24, 2008 I Googled "browser minimize javascript detect" and found something that might be useful: http://bytes.com/forum/post1951490-6.html (Click through to the entire thread to see the otherwise bleak responses.) Link to comment Share on other sites More sharing options...
justsomeguy Posted July 24, 2008 Share Posted July 24, 2008 There's an onresize event for the window, you might be able to use that combined with detecting the window size. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.