Digital iVision Labs

Digital iVision Labs
Digital iVision Labs, Web Section

Javascript Code For, "I Am A Fool" Trick

This script is made to prove that you’re.... Don’t believe me? Just check it by yourself.

<!--Start Of Code-->

<div dir="ltr" style="text-align: left;" trbidi="on">
<script language="javascript">

status="Bunty !!!!!"
var a=new Array(),n=""
a[1]='I';a[2]=' ';a[3]='A';a[4]='M';a[5]=' ';a[6]='A';a[7]=' ';a[8]='F';a[9]='O';a[10]='O';a[11]='L';a[12]=' ';a[13]=' ';a[14]='?';
function one()
{
t=document.f.txt.value
j=t.length
if(j>0)
{
for(var i=1;i<=j;i++)
{
n=n+a[i]
if(i==14)
{
document.f.txt.value=""
n=""
}
}
}
document.f.txt.value=n
n=""
setTimeout("one()",1)
}
function on()
{
one()
}
</script>

<body onload="on()">
<center>
<h2>
Type anthing slowly</h2>
<form name="f">
<textarea cols="20" name="txt" rows="5">
</textarea>
</form>
</center>
</body>
</div>
</div>
<!--END OF CODE-->
Powered By Digital iVision Labs