Unstoppable Domains โ€” Get your daily AI drops report

Cool Javascript

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Watch

Dan

Buy my domains.VIP Member
Impact
108
Go to any page with images and paste this into the address box:
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.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);
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
lol!

Shame it dosnt work with css background-images....
 
0
•••
Awesome!

Now I'm dizzy :p
 
0
•••
Remind me to never, ever, ever try that code on an arcade site again! hundreds of flying thumbnails! lol

edit:

messing with the code can get weird effects, eg:
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"*10000}R++}setInterval('A()',5); void(0);

That goes faster (try it on google images, and then try to click a certain image, lol)
 
0
•••
That sure is one way to spice up a webpage, makes my browser lag a bit though :/..
 
0
•••
loving that!
 
0
•••
Appraise.net
Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back