请把title标签首尾括号改为半角
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>标题滚动用JS-[看看title是不是滚动了][www.ok12.net-成功志]</title>
<SCRIPT language="javascript">
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();
</SCRIPT>
</head>
<body>
</body>
</html>
发表评论