JavaScript implements a simple example of taskbar message prompt
<html><body onload="blurFunc();"><script> function blurFunc() {setTimeout("setTitle1()","1000");} var flag=0;var id = setTimeout("setTitle1()","1000");var id1 = setTimeout("setTitle2()","1000"); function setTitle1(){if(flag=="1"){return;} document.title="Message Reminder"; setTimeout("setTitle2()","1000");}function setTitle2(){ document.title="XXXXXX";setTimeout("setTitle1()","1000"); } setTimeout("clear()",10000);function clear(){ flag = "1";}</script></body></html>The above simple example of the JavaScript implementation taskbar message prompt is all the content I have shared with you. I hope you can give you a reference and I hope you can support Wulin.com more.