Update: I found out that this script will not work on websites using CSS to display images. Can’t explain it further, just try this on amazon.com.
This is one of the coolest javascript trick I have seen. Just follow these 4 simple steps.
1. go to any website
2. delete everything in the address bar
3. paste the following code in the address bar:
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);
4. press enter and have fun
Try it out on webpage that has lots and lots of pics. It’s not working on my firefox.
















Man, this thing has over 3300 diggs! I’m scared to try it. What does it look like?
nothing harmful. Trust me. It’s just cool.
That is pretty cool. Don’t know where it would really come in handy, but hey, it’s fun, right?
ryan,
yeah its fun. that’s all.
I’m kinda bummed. I tried it and it didn’t do anything for me =( I use IE, so maybe it’s just me or it doesn’t like IE?
angel,
yes! it works on IE.
thanks for dropping by.
That is pretty neat, pointless, but neat, thanks for the tip.
nothing happens, both in IE and firefox… =}
What’s your IE version? I tried it on IE 6 and it worked, but it will not work on Firefox.
Nothing seems to happen..
I’m using IE7.
what is suppose to happen anyway?
zine2hamster.
It’ll just mess the images in a webpage. It’s working on me.