TinyPortal

General => Chit chat => Topic started by: Max on November 25, 2006, 02:25:46 PM

Title: Flyin Images...
Post by: Max on November 25, 2006, 02:25:46 PM

Had someone post this on my site, tought it was fun hehe.

copy and paste the code below to your address bar and hit enter!  ;)

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("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)
Title: Re: Flyin Images...
Post by: pvcblue on November 25, 2006, 05:08:02 PM
Quote from: Maxâââ,¬Å¾Ã,¢ on November 25, 2006, 02:25:46 PM

Had someone post this on my site, tought it was fun hehe.

copy and paste the code below to your address bar and hit enter!  ;)




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("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)




asking someone to put something in the address bar is not too cool, could be a virus..........
Title: Re: Flyin Images...
Post by: knat on November 25, 2006, 05:26:45 PM
I saw this script in another post a while ago.. somebody turned it into a block code snippet.. pretty cool but also pretty useless  ;D
Title: Re: Flyin Images...
Post by: Max on November 25, 2006, 05:37:52 PM
Quote from: pvcblue on November 25, 2006, 05:08:02 PM

asking someone to put something in the address bar is not too cool, could be a virus..........


Its not a virus... i wouldnt post it if it was!
just a bit of fun with the images on the page your viewing :P
Title: Re: Flyin Images...
Post by: akulion on November 25, 2006, 09:26:09 PM
dosent seem to work in FF - i did it but nothing happend
Title: Re: Flyin Images...
Post by: IchBin on November 25, 2006, 09:30:06 PM
hmm... worked fine in my FF. Still using 1.5 though.
Title: Re: Flyin Images...
Post by: akulion on November 25, 2006, 11:22:53 PM
oh hey it works!!

strange it didnt work before - probably cos i was running a java based chat in the browser in another tab probably a conflict

nice one