实现Title动态效果JS脚本 - javascript -

实现Title动态效果JS脚本

时间:2012-10-16 10:19:00   来源:   评论:加载中...   点击:加载中...
  实现Title动态效果JS脚本  <html>  <head>  <meta http-equ...

  实现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://homepage.yesky.com"}
  if (step==2) {document.title="☆★☆<a href="http://www.chinaz.com/" class="bluekey" target="_blank">中国站长站</a>站长学院☆★☆"}
  setTimeout("flash_title()",1000);
  }
  flash_title()
  </script>
  </head>

<body>
  </body>
  </html>



相关热词搜索:

 
上一篇:从JavaScript函数重名看其初始化方式
下一篇:JS页内查找关键词的高亮显示
收藏 将此文推荐给朋友
分享到: