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?