var text=document.title;//获得页面的标题
            var timerID;//定时器
            function newtext() {
                clearTimeout(timerID);
                document.title=text.substring(1,text.length)+text.substring(0,1);//截取字符重新赋值给title
                text=document.title.substring(0,text.length);
                timerID = setTimeout("newtext()", 500);
            }
            window.onload=function(){
                newtext();
            };

相关文章:

  • 2021-07-16
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2021-06-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2022-02-08
相关资源
相似解决方案