Status
Not open for further replies.

TSPatange_1309

Tech Freak Digitian.
Hey Hello Guyzz...i just found one vry funny javascript...& i wanna share it with u...! the name of tht javascript is "webpage on drugs"...!:mrgreen::mrgreen:

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

just Ctrl + V (Copy-Paste) the above code in your browsers address bar and see the magic...!:arrow::arrow::arrow::shock:
 

funkysourav

What The.... !!!
why dont you post a screenshot of what happens?
i am not exactly comfy of the idea of running any unknown script in my browser
 

coolpcguy

Resistance is Futile.
Meh, just applies sin() * cos() to x,y,z variables to each div element. been seeing these since eternity.
 
Status
Not open for further replies.
Top Bottom