<!--
HTML.Title闪烁显示;
by ScaredParadise 2010-10-17 23:12:46
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--=====================start=======================================-->
<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>
<!--====================end========================================-->
</head>
<body>
</body>
</html>
|