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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top