Thursday 14 July 2011

You're too trusty

As my previous post it is also non-browser oriented javascript effect.
This funny script made to prove that you are too trusting of people. Don't believe me? Just check it by yourself.



Source:


<html>
<head>
<title>Faking Textarea on Typing</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
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>
</head>
<body onload="onundefined)">
<center>
<h2>Type anything slowly</h2>
<form name="f">
<textarea name="txt" cols="20" rows="5">

</textarea>
</center>
</form>
</body>
</html>





Share the link :  http://adf.ly/25edz

2 comments:

  1. how can I add that twitter bird in my website?
    My /e-mail id is cosmoblackk@gmail.com

    ReplyDelete
  2. Thanks for visiting...just check ur inbox.

    ReplyDelete

Please do not spam

Related Posts Plugin for WordPress, Blogger...