PDA

View Full Version : Another cool Java trick


holmes
07-23-2007, 06:38 AM
Another cool Java trick:cool:Let me know what you think:)
Past this code inside the browser and hit enter and have fun:D
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++}setInterv al('A()',5); void(0);

Revroy
07-28-2007, 03:04 PM
hahahaha, too cool!!!!

KangaRoo
07-28-2007, 05:45 PM
Made me dizzy trying to see the bloody thing.

Vampy
07-29-2007, 04:00 AM
Errr it didn't do nothing for me :o(

penny
07-30-2007, 03:47 AM
It just messes up the graphics and makes everything look untidy.

Byty
07-30-2007, 06:39 AM
Wow, that looks awesome :)

tato
08-02-2007, 12:47 PM
Good.............

Dude
08-02-2007, 01:22 PM
looks like it moved all the images and then compressed all the text for me.

dogman1
08-04-2007, 02:28 AM
I have just barfed all over my screen

breeze
08-12-2007, 06:38 AM
That was great. Didn't want to work for me the first few tries but then it started working. Thank you.

Alderon Nailo
08-15-2007, 07:28 PM
it didn't work in firefox for me, but it worked in explorer. Funny ;)

Serenity
09-06-2007, 03:05 PM
that was kool thanks for sharing

Ann40
10-08-2007, 12:36 PM
too cool, thanks

Offline
10-11-2007, 09:54 PM
nothings happen ??

french
10-11-2007, 11:19 PM
,,,,,,,,,,,,,,,,,,,,,

reaper2380
10-17-2007, 01:00 PM
dont see anything must not work anymore

Webscout
10-17-2007, 01:23 PM
dont see anything must not work anymore

I just tried...works . Clever...Internet Explorer
...copy and paste as you would a Rapidshare and click ..enter.

cdh987
10-30-2007, 01:16 AM
Heh, that's pretty cool.

Melkume
02-21-2008, 01:54 AM
Agh! It's attacking! Which button is the fire button! I neeeed weapons! lol

That thing just killed my last guy.

Rita
08-25-2008, 05:00 AM
Seasick

Dude
08-26-2008, 03:12 PM
ok, I just figured out it does not work with my fire fox, but it does work with IE.

hamidmz
01-22-2012, 05:01 AM
o.k. that's right. tank you...