Sunday, 31 July 2011

Crazy Buttons

wooohh crzzzzyyy!!!

This is funniest code. 

This code start rotating webpage buttons/input field.

javascript:R=0; x1=.1; y1=.1; x2=.25; y2=.25; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName('input'); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.cos(R*x1+i*x2)*x4+x5)+'px';*y1+i*y2)*y4+y5)+'px'}R++}setInterval('A()',50); void(0);

Add this code in address bar & press Enter.

I have experimented this code on facebook & it has rotated "comment" button.

You can see that in the snap.


Post a Comment

Please do not spam

Related Posts Plugin for WordPress, Blogger...