Help - Search - Members - Calendar
Full Version: Jumble Javascript.
Pixel2Life Forum > Member Tutorials and Requests > Forum Tutorial Archives > Miscellaneous Tutorials
The_pro_designer
here guys put this in your browser and scramble all of p2ls images in a tumbling whirlwind. Its not a virus nor is it anything that will harm your computer or p2l.. Just somthing fun to do.. You can paste it in the adress bar of any site and it will have the same effect.
CODE
java script:R=0; x1=.1; y1=.25; x2=.45; y2=.44; x3=2.6; y3=.44; x4=600; y4=400; x5=600; y5=400; DI=document.getElementsByTagName("img"); 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);


ph34r.gif victory.gif

Enjoy the chaos.

to help your jumble..
smile.gif tongue.gif victory.gif sad.gif

ok.. cya.
cheerio
Someone( maybe you ) posted this quite recently..and made that same mistake with the space between "java" and "script"
great effect though
The_pro_designer
Actully.. Thats space isnt supposed to be there or it really wont work.. bigwink.gif

OH i see, it wont let me leave the space out.. :/

EDIT:, you guys will just have to take the space out when you copy and paste. yea.. since these fourms wont let me leave it out.

..
syntex
Ugh scary, when i did it i thought ur ZetaGrafix sig said Syntexgrafix and i was like ph34r.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.