Leya 发表于 2008-3-31 11:27:33

实现Title动态效果JS脚本

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="JavaScript">
step=0
function flash_title()
{
step++
if (step==3) {step=1}
if (step==1) {document.title='http://www.bakbuy.com'}
if (step==2) {document.title='☆★☆贝买网☆★☆'}
setTimeout("flash_title()",1000);
}
flash_title()
</script>
</head>
<body>
请注意标题栏的变化!!!!!!!!!
</body>
</html>
页: [1]
查看完整版本: 实现Title动态效果JS脚本