Images magic

Gamers can also use this forum to chat about any game related subject, news, rumours etc.

Moderator: maddog986

Post Reply
User avatar
doomtrader
Posts: 5319
Joined: Tue Jul 22, 2008 5:21 am
Location: Poland
Contact:

Images magic

Post by doomtrader »

1. Go to Google and choose Images
2. Enter any word (like flowers or cake)
3. When the results will shown (images gallery) enter this script into the URL addres bar:

javascript:V=1; 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+=V }setInterval( 'A()',50); void(0)

4. Watch the magic.



It made no harm for my PC, so it should be safe, but of course use it at your own risk.
User avatar
Toby42
Posts: 1629
Joined: Sat Aug 09, 2003 11:34 pm
Location: Central Florida

RE: Images magic

Post by Toby42 »

Pretty cool! How did they do that [&:]
Tony
User avatar
Marc von Martial
Posts: 5292
Joined: Thu Jan 04, 2001 4:00 pm
Location: Bonn, Germany
Contact:

RE: Images magic

Post by Marc von Martial »

Via the javascript code [;)]
User avatar
GJK
Posts: 542
Joined: Sat Jul 17, 2004 3:37 am
Contact:

RE: Images magic

Post by GJK »

FYI, this works on any website, not just Google.
"Fat, drunk, and stupid is no way to go through life, son."

-Dean Vernon Wormer
User avatar
cdbeck
Posts: 1374
Joined: Tue Aug 16, 2005 1:19 am
Location: Indiana

RE: Images magic

Post by cdbeck »

Woah, kinda looks cool if you do it right here... EMOTICON STORM!!!
"Neca eos omnes. Deus suos agnoscet!"
(Kill them all. God will know his own.)

-- Arnaud-Armaury, the Albigensian Crusade
Post Reply

Return to “General Discussion”