博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
HTML.Title闪烁显示
阅读量:6682 次
发布时间:2019-06-25

本文共 919 字,大约阅读时间需要 3 分钟。

hot3.png

  1. <!--  
  2.     HTML.Title闪烁显示;  
  3.     by ScaredParadise   2010-10-17 23:12:46  
  4. -->  
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
  6. <html xmlns="http://www.w3.org/1999/xhtml">  
  7. <head>  
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
  9. <!--=====================start=======================================-->  
  10. <title>Hello</title>  
  11. <mce:script type="text/javascript"><!--  
  12. var step=0;   
  13. var _title1=document.title;  
  14. var _title2='Kitty';  
  15. for(var i=0;_title2.length<=_title1.length-1;i++) {_title2+='.';}  
  16. function flash_title()  
  17. {  
  18.   step++;  
  19.   if (step==3) {step=1;}  
  20.   if (step==1) {document.title=_title2;}  
  21.   if (step==2) {document.title=_title1;}  
  22.   setTimeout("flash_title()",500);  
  23. }  
  24. flash_title();  
  25. // --></mce:script>  
  26. <!--====================end========================================-->  
  27. </head>  
  28. <body>  
  29. </body>  
  30. </html> 

转载于:https://my.oschina.net/u/259628/blog/50741

你可能感兴趣的文章
SpringAOP拦截Controller,Service实现日志管理(自定义注解的方式)
查看>>
读《白帽子讲Web安全》之安全意识篇(一)
查看>>
GLSL三种修饰符区别与用途(uniform,attribute和varying)
查看>>
python django django-debug-toolbar 加载缓慢,不能使用。
查看>>
操作系之进程调度及算法详解
查看>>
PHPexcel实列
查看>>
Butterknife 的简单使用 和 配合 Butterknife的插件 Zelezny
查看>>
Magento利用input type=”file”上传图片
查看>>
Android音频开发(4):如何存储和解析wav文件
查看>>
Handler延迟事件使用
查看>>
【DG】Oracle 19c使用dbca来搭建物理DG
查看>>
StringBuilder 、StringBuffer 、 String
查看>>
android studio下NDK开发
查看>>
C#MysqlHelper
查看>>
SpringMVC Hello World 实例
查看>>
MySQL BETWEEN 用法
查看>>
vim开启自动缩进
查看>>
【转】js之iframe子页面与父页面通信
查看>>
java设计模式_模版模式
查看>>
摄像机平滑更随脚本
查看>>