<html>
<head>
<title>文字效果</title>
<body bgcolor="#000000">
<script language="Javascript">
<!--
var textsize=45
var textfont="Arial"
var color=new Array()
color[0]="#0000ff";
color[1]="#0077ff";
color[2]="#99ccff";
color[3]="#66aacc";
color[4]="#888888";
color[5]="#666666";
color[6]="#555555";
color[7]="#996633";
color[8]="#880000";
color[9]="#336699";
color[10]="#5533aa";
color[11]="#8899ff";
var message=new Array()
message[0]="Welcome to Buaa"
var strength=10
var tempmessage=0
var tempcolor=0
function blurtext(){
if(document.all){
if(strength>=-2){
if(tempcolor>=color.length-1){
tempcolor=tempcolor-1;
}
blureffect.innerHTML="<span id='blurpit1' style='position:absolute;visibility:visible;width:500px;top:50px;left:50px;filter:blur(add=1040,stength="+strength+",direction=100);font-family:"+textfont+";font-size:"+textsize+"pt;color:"+color[tempcolor]+"'>"+message[tempmessage]+"</span>";
document.close();
strength=strength-3;
tempcolor++;
var timer=setTimeout("blurtext()",90);
}
else{
if(tempcolor>=color.length-1){
tempcolor=color.length-1;
}
blureffect.innerHTML="<span id='blurpit1' style='position:absolute;visibility:visible;width:500px;top:50px;left:50px;filter:blendTrans();font-family:"+textfont+";font-size:"+textsize+"pt;color:00ccff'>"+message[tempmessage]+"</span>";
tempmessage++;
if(tempmessage>=message.length){
tempmessage=0;
}
strength=80
tempcolor=0
clearTimeout(timer)
var timer=setTimeout("blurtext()",700)
}
}
}
window.onload=blurtext;
//-->
</script>
<div id="blureffect" style="height:16px;position:absolute;visibility:visible;width:600px">
</div></body></html>