当我的单个 IE 实例打开时,最小化的浏览器正在闪烁,但是在设置任务栏属性“分组类似任务栏按钮”时,如果打开了多个 IE 实例,则闪烁不起作用。
我为此编写了以下代码..
Response.Write("<script language='javascript'>");
Response.Write("var oldTitle = document.title;");
Response.Write("function stay(){ ");
Response.Write("document.title = 'CTMS | Exception Dashboard - Microsoft Internet Explorer'; } ");
Response.Write(" function go() { ");
Response.Write(" document.title = 'New Message Arrived!';");
Response.Write(" for(var i=900; i < 10500; i=i+900) {");
Response.Write(" setTimeout('stay()',i+450);");
Response.Write(" setTimeout('go()',i); } ");
Response.Write("</script> ");