Page 1 of 1

Random Java Fun

Posted: 07/12/2006 - 12:00
by Steve B
goto a web page with a lot of images on it (eg http://images.google.co.uk/images?hl=en&q=c64)

copy and paste this:

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);


into the address bar and hit return :D

Posted: 07/12/2006 - 12:46
by dan gillgrass
Lol, Sprite Multiplexer ;)

Posted: 07/12/2006 - 13:23
by LMan
Wot the fuck. I didn't know you could enter Javascript directly in the address bar to manipulate page contents?

Posted: 07/12/2006 - 14:06
by FFRenzy
LMan / Remix64 wrote:Wot the fuck. I didn't know you could enter Javascript directly in the address bar to manipulate page contents?
Technically, it's called a "bookmarklet"
http://en.wikipedia.org/wiki/Bookmarklet

Posted: 07/12/2006 - 22:10
by Analog-X64
Now if I can figure out how to incorporate that into my project..hmm..

Posted: 08/12/2006 - 3:18
by tas
LMAO!

Very clever. :lol:

Posted: 08/12/2006 - 3:55
by Steve B
heh heh heh .. if you bung it in the address bar on this page ...
:hysterical:

dan goes drinking in circles .. LMan looks relaxed in a spin ..

:D

Posted: 08/12/2006 - 9:24
by dan gillgrass
Steve B wrote: dan goes drinking in circles ..
:D
Back to normal then ;)

Posted: 09/12/2006 - 0:54
by Vosla
:shock:

Wow...