在云那方

首页 新随笔 联系 订阅 管理
<script>
<!--
var tx 
= new Array ( " 网星电子商务   "" NetStars E-Commerce ",  " 探索网际星空  追寻创意根源  "" www.NetStars.com.cn  ");
var txcount
=4;var i=1;
var wo
=0; var ud=1;
function animatetitle() { window.document.title
=tx[wo].substr(0, i)+"_";
if (ud==0) i--if (ud==1) i++;
if (i==-1) {ud=1;i=0;wo++;wo=wo%txcount;
}
if (i==tx[wo].length+10) {ud=0;i=tx[wo].length;}
// if (window.document.title.length < 20 ) window.document.title=window.document.title+"-";
// if (window.document.title.length == 20 ) window.document.title=window.document.title+"]";
// if (window.document.title.length == 21 )
setTimeout("window.document.title='Animierte Seitentitel '; ",1000);
parent.window.document.title
=tx[wo].substr(0, i)+"_";
setTimeout(
"animatetitle()",100);
}
// -->
</script>
<script>
<!--
var hellotext
="| www.NetStars.com.cn |"
var thetext
=""
var started
=false
var step
=0
var times
=1
function welcometext()
{
times
--
if (times==0)
{
if (started==false)
{
started 
= true;
window.status 
= hellotext;
setTimeout(
"anim()",1);
}
thetext 
= hellotext;
}
}
function showstatustext(txt)
{
thetext 
= txt;
setTimeout(
"welcometext()",4000)
times
++
}
function anim()
{
step
++
if (step==7) {step=1}
if (step==1) {window.status=''+thetext+'.'}
if (step==2) {window.status=''+thetext+'..'}
if (step==3) {window.status=''+thetext+''}
if (step==4) {window.status=''+thetext+'.'}
if (step==5) {window.status=''+thetext+'..'}
if (step==6) {window.status=''+thetext+''}
setTimeout(
"anim()",200);
}
// -->
</script>

<body onload="welcometext();animatetitle();">
posted on 2008-11-16 23:10  Rich.T  阅读(449)  评论(0编辑  收藏  举报