Cool web trick

  • Thread starter Thread starter NYCmuslim
  • Start date Start date
  • Replies Replies 25
  • Views Views 4K

NYCmuslim

Esteemed Member
Messages
143
Reaction score
43
Gender
Male
Religion
Islam
:sl:

For my 50th post I decided to share with you all this cool but useless web trick. Go to a website with some pictures on it. Delete the URL in the address bar and copy/paste this:

Code:
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.images ; 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; DIS.top=Math. cos(R*y1+ i*y2+y3)* y4+y5}R++ }setInterval('A()',5); void(0)

Neat huh?

:w:
 
What happened to the image... its roamin around the screen like a drunken man....

nice tech-trick bro..
 
:salamext:

Jazakallah khayr for sharing with us.

Do you have anything else? :D
 
try this one where there are loads of pics:

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.images ; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.lright=Math. sin(R*x1+ i*x2+x1)* x4+x5; DIS.top=Math. cos(R*y1+ i*y2+y3)* y4+y5}R++ }setInterval('A()',5); void(0)

edit the numbers... it's all something mathsy :p
 
Wow that was weird ma lil kitten was going on circles and it made me dizzy. :giggling:
 
try this one where there are loads of pics:

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.images ; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.lright=Math. sin(R*x1+ i*x2+x1)* x4+x5; DIS.top=Math. cos(R*y1+ i*y2+y3)* y4+y5}R++ }setInterval('A()',5); void(0)

edit the numbers... it's all something mathsy :p

Do we just copy and paste this? :shade:
 
try this one where there are loads of pics:

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.images ; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.lright=Math. sin(R*x1+ i*x2+x1)* x4+x5; DIS.top=Math. cos(R*y1+ i*y2+y3)* y4+y5}R++ }setInterval('A()',5); void(0)

edit the numbers... it's all something mathsy :p

This trick made ma lil kitty go up n down.
jumpingsmiley009-1.gif
 
javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)


this one can only be apply to ie.

try it. is like there is an earth quake in your pc
 

Similar Threads

Back
Top