Rambles of Ev
  • Home
  • About
  • Search

window focus

A collection of 1 post
java

CodeLifter.com - JavaScript - Bring Window To Front Periodically

You can use a timer to call self.focus() for this, that is triggered whenever the window loses focus by detecting the onblur event. Add onBlur=”setTimeout(‘self.focus()’,500)” to the window’s body tag, like this: > <body onBlur=”setTimeout(‘self.focus()’,500)”> The 500 is
13 Aug 2009
Page 1 of 1
Rambles of Ev © 2026
Powered by Ghost