Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to catch browser minimized event

 
sri swarna
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm new to javascript.
In my Application I need to perform some action when the user minimizes the browser window.
How do I catch the event when browser window is being minimized.

Any help will be appreciated.

Thanks,
Sri Swarna
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no event to catch it. You can try onblur, but it may cause more headaches.

Eric
 
sri swarna
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric. I may have to find a work around to satisfy my requirement.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic