标题滚动效果演示

<!DOCTYPE html>
<html>
<head>
<meta charset="gb2312" />
<title>标题滚动效果演示——标题滚动效果演示</title>
<script type="text/javascript">
(function(){
    setInterval(function(){
        text = top.document.title;
        top.document.title=text.substring(1,text.length)+text.substring(0,1);
    },500);
})();
</script>
</head>
<body>
标题滚动效果演示
</body>
</html>

 

posted @ 2017-06-13 09:29  林育松  阅读(285)  评论(0)    收藏  举报