Write Colorful Scraps

Go down

Write Colorful Scraps

Post  Admin on Thu Jan 17, 2008 7:54 am

javascript:cor=new Array('b','green','yellow','red' );var z=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.length;y++){txt.value=txt.value.replace(/\/,'['+cor[z]+']');z++;if(z==cor.length){z=0}}void(0)
avatar
Admin
Admin

Posts : 117
Join date : 2008-01-11
Age : 29
Location : Pakistan

View user profile http://come.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum