如何打开弹出窗口并使其从工具栏闪烁?
只是作为聊天(yahoomessenger,msn .....)当我们收到新消息时,相应的窗口会闪烁
或在 Internet Explorer 中作为当我们完成下载某些内容时,相应的窗口会在工具栏中闪烁
如何使用弹出窗口?
Just AS a chat (yahoomessenger, msn .....) WHEN we get a new message, the corresponding window is flashing
or AS in internet explorer WHEN we finsh downloading something the corresponding window is flashing in the toolbar
How to do it with a popup?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用以下 JavaScript 来触发此操作。
You can use the following javascript to trigger this.
这是无法通过网页中的 JavaScript 访问的。但是,您可以将标题栏更改为诸如“!!!!!!!!!!!!!!!!!!”之类的字符串。然后再次返回以获得类似的效果。
示例代码(位于 http://jsbin.com/ifewu3/2):
然后调用
clearInterval(flashInterval)
当你想停止闪烁时。That's not accessible from JavaScript in a web page. You could, however, change the title bar to a string such as "!!!!!!!!!!!!!!!!" and back again for a similar effect.
Example code (live at http://jsbin.com/ifewu3/2):
Then call
clearInterval(flashInterval)
when you want to stop the flashing.