Any JavaScript Expert here ??????
Plzzz help me regarding the following script........
It is to basically animate text . It is for blurring text. I read javascript 2 years ago but i am not able to make out what it does ??
Can somebody explain how it is blurring text, how the function is working ??
<!-- Beginning of JavaScript -
var thissize=70
var textfont="CityBlueprint"
var textcolor= new Array()
textcolor[0]="white"
textcolor[1]="white"
textcolor[2]="white"
textcolor[3]="white"
textcolor[4]="white"
textcolor[5]="white"
textcolor[6]="white"
textcolor[7]="white"
textcolor[8]="white"
textcolor[9]="white"
textcolor[10]="white"
textcolor[11]="white"
var message = new Array()
message[0]="All About Organic .com"
message[1]="The 'MORE INFO CHANNEL'"
message[2]="Clean look and feel, easy to browse"
message[3]="The user friendly information library"
message[4]="know all about organic"
message[5]="ultimate source to the world of organic"
var i_blurstrength=10
var i_message=0
var i_textcolor=0
function blurtext() {
if(document.all) {
if (i_blurstrength >=-2) {
if (i_textcolor >=textcolor.length-1) {i_textcolor=textcolor.length-1}
blurthis.innerHTML="<span id='blurpit1' style='position:absolute;visibility:visi...
document.close()
i_blurstrength=i_blurstrength-2
i_textcolor++
var timer=setTimeout("blurtext()",60)
}
else {
if (i_textcolor >=textcolor.length-1) {i_textcolor=textcolor.length-1}
blurthis.innerHTML="<span id='blurit1' style='position:absolute;visibility:visi... top:5px;left:5px;filter:blendTrans(durat...
i_message++
if (i_message>=message.length){i_message=0}
i_blurstrength=20
i_textcolor=0
clearTimeout(timer)
var timer=setTimeout("blurtext()",3600)
}
}
}
// - End of JavaScript - -->
</SCRIPT>
|