简体   繁体   English

闪烁的最小化浏览器

[英]Blinking minimized browser

when my single IE instance is opened then minimized browser is blinking but while setting task bar property "Group similar task bar button" and if multiple IE instances opened then blinking is not working. 当我打开单个IE实例时,最小化的浏览器会闪烁,但是在设置任务栏属性“组相似任务栏按钮”时,如果打开了多个IE实例,则闪烁不起作用。

i have written follwoing code for this.. 我为此写了以下代码。

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> ");

Your code has nothing to do with that. 您的代码与此无关。 The blinking in the tray is a default Windows behavior. 托盘中的闪烁是Windows的默认行为。

When you have a grouped set of IE windows it doesn't blink the group in the taskbar because it wouldn't be able to blink for just the single window that needs focus, it would have to blink the entire group. 当您有一组IE窗口分组时,它不会使任务栏中的组闪烁,因为它无法仅对需要聚焦的单个窗口闪烁,因此必须使整个组闪烁。 And if it blinked the entire group that wouldn't tell you which window wants attention, so Microsoft chose to just turn the blinking off. 而且,如果它让整个团队眨了眨眼,也无法告诉您哪个窗口需要关注,那么Microsoft选择了仅关闭闪烁。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM