滚动title

var msg =document.title
msg = "..." + msg;pos = 0;
function scrollMSG() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos);
pos++;
if (pos >  msg.length) pos = 0
window.setTimeout("scrollMSG()",200);
}
scrollMSG();
posted @ 2013-05-07 00:57  不再犹豫、  阅读(124)  评论(0编辑  收藏  举报