Friday, May 21, 2010

Colorful Scraps

==> Write your message/scrap/ in community or scrapbook
==> Copy paste the code below in your browser and then press enter.
==> You will see change in the message you wrote,
Press Submit and enjoy.

javascript:cor=new Array(’aqua’,’blue’,’fuchsia’,’gold’,’gray’,
‘green’,’lime’,’maroon’,’navy’,’olive’,’orange’,’pink’,’purple’,’red’,’
silver’,’teal’,’violet’,’yellow’ ); varz=0;
txt=document.getElementsByTagName(’textarea’)[0]; txt.value=txt.value.replace(/(.)/gi,”§$1″);
txt.value =txt.value.replace(/\§ /gi,” “); for(y=0;y
{txt.value=txt.value.replace(/\§/,’[’+cor[z]+’]’);z++;if
(z==cor.length){z=0}}void(0)

No comments:

Post a Comment