[Javascript] disabled window detections

Scott Reynen scott at randomchaos.com
Fri Oct 13 16:13:56 CDT 2006


On Oct 13, 2006, at 4:02 PM, Diego Chagastelles wrote:

> Example: when my page is inactive or disabled (I dont know) Gmail  
> play a little sound when a message comes. When the page is active  
> there´s no sound.

I believe what you're talking about is whether or not a document has  
focus in the browser.  I don't know the answer to the question, but  
hopefully this will help someone else understand what you're asking.

Peace,
Scott




More information about the Javascript mailing list