Flash icon in TaskBar when something happens and browser is minimised

J

John Smith

I display some alerts dynamically in a div. This is great when the
browser is maximised but I need some way of alerting the user if the
browser is minimised to the taskbar. Is there some effective way of
doing this?
 
B

Bert

I display some alerts dynamically in a div. This is great when the
browser is maximised but I need some way of alerting the user if the
browser is minimised to the taskbar. Is there some effective way of
doing this?

I'm not sure but maybe you could give window.focus() a try?
B.
 
J

John Smith

* Bert said:
I'm not sure but maybe you could give window.focus() a try?
B.

I tried

<html>
<head></head>
<body onblur="self.focus();">
</body>
</html>

as a test. doesn't do anything
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top