<!-- 完整的HTML代码如下: -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>网页教学网-特效代码->>滚动标题</title>
<script language="javascript">
<!-- Hide me
var index_count = 0;
var title_string = "让标题栏文字动起来,标题也动了,===让标题栏文字动起来,标题也动了-->knowsky.com";
var title_length = title_string.length;
var cmon;
var kill_length = 0;
function loopTheScroll()
{
scrollTheTitle();
if(kill_length > title_length)
{
clearTimeout(cmon);
}
kill_length++;
cmon = setTimeout("loopTheScroll();",100)
}
function scrollTheTitle()
{
var doc_title = title_string.substring((title_length - index_count - 1),title_length);
document.title = doc_title;
index_count++;
}
loopTheScroll();
//-->
</script>
</head>
<body>
</body>
</html>