1

I have created something similar to a platform. It is a HTML site and shown on a touch display. I want the site to focus after 10 minutes of inactivity. So the site is in the foreground. I tried:

$window.focus(function() {
    self.focus();
    window.setTimeout("focus()",600000);
});

But it doesn't work. Has anybody a working solution?

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
nolags
  • 633
  • 1
  • 11
  • 30

0 Answers0