Chinaunix首页 | 论坛 | 博客
  • 博客访问: 39605
  • 博文数量: 11
  • 博客积分: 336
  • 博客等级: 一等列兵
  • 技术积分: 151
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-29 22:20
文章分类

全部博文(11)

文章存档

2012年(7)

2010年(4)

我的朋友

分类: 系统运维

2010-10-17 23:21:37


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Hello</title>
<script type="text/javascript">
var step=0;
var _title1=document.title;
var _title2='Kitty';
for(var i=0;_title2.length<=_title1.length-1;i++) {_title2+='.';}
function flash_title()
{
  step++;
  if (step==3) {step=1;}
  if (step==1) {document.title=_title2;}
  if (step==2) {document.title=_title1;}
  setTimeout("flash_title()",500);
}
flash_title();
</script>

</head>
<body>
</body>
</html>


阅读(2186) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~