点击(此处)折叠或打开
- <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 = \"欢迎光临『QQ空间站』www.chenxuzl.com- Welcome To XinQing Waystation\";
- 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>
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29737856/viewspace-1306960/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29737856/viewspace-1306960/