Home  >  Article  >  Web Front-end  >  利用JS实现浏览器的title闪烁_javascript技巧

利用JS实现浏览器的title闪烁_javascript技巧

WBOY
WBOYOriginal
2016-05-16 17:29:471063browse

主要是通过setTimeout方法设置一个定时器,切换消息提示,从而达title到消息提示的闪烁。

复制代码 代码如下:

 
 
    JS效果-浏览器标题栏闪烁 
     
     
 
 
    点击页面取消消息闪烁提示 
 


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn