如何让网页的标题滚动起来?

已邀请:

zkbhj - 凯冰科技站长

赞同来自:

 
//设置滚动标题
function titleScroll(){
var title=document.title ;
var firstch=title.charAt (0);
var leftstar=title.substring (1,title.length );
document.title =leftstar +firstch ;
}

function setScrollTitle(title){
document.title = title;
setInterval("titleScroll()",500);
}

要回复问题请先登录注册