Jump to content

How to chekck whether wondow is minimized and active via JS?

Recommended Posts

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...