PDA

View Full Version : Magic of programming


punk
31-08-2007, 06:26 AM
Hi
just came across this program, try this its really cool:D

1. Open Internet Explorer.
2. Go to Google 3. Click images 4. Type "flowers" & enter. 5. You will get a page which is having full of mages. 6. Then delete the URL from the address bar and paste the below script 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) 7. See the magic of programming

skghosh44
31-08-2007, 08:01 AM
I tried it now and Its really cool. Have u other such cool things ? Pl Post.
thanks.

chicha
31-08-2007, 08:08 AM
does not work.
please enclose the java script in double quotes.

skghosh44
31-08-2007, 08:30 AM
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)

For and on behalf of "punk"

chicha
31-08-2007, 08:49 AM
nice one man.

azzu
31-08-2007, 11:19 AM
amazin...........

prateek_san
31-08-2007, 11:22 AM
nice man......cool :cool:

gx_saurav
31-08-2007, 11:45 AM
Nice yaar..its works in any browser though

pushkaraj
31-08-2007, 12:20 PM
nice find

Charan
31-08-2007, 01:28 PM
Why dont people read or reply to my posts :confused: .. I had posted this two months back here (http://www.thinkdigit.com/forum/showthread.php?t=61321) :neutral:

BBThumbHealer
31-08-2007, 02:22 PM
Cool ! .. Thnx !

eggman
31-08-2007, 04:20 PM
Amazing.......kwel

piyush gupta
31-08-2007, 06:41 PM
greatopne man

max_demon
31-08-2007, 08:11 PM
even i have posted it before with title - feel like mad

hailgautam
31-08-2007, 09:12 PM
not working here wonder why?


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)

is this what i need to paste?

iamtheone
31-08-2007, 09:27 PM
mind blowing trick man....do u have more??

xbonez
31-08-2007, 09:38 PM
awesome yaar

planetcall
31-08-2007, 09:39 PM
koooool

punk
03-09-2007, 06:37 AM
not working here wonder why?


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)

is this what i need to paste?


Hi
plz, see the reply from skghosh44 for the solution. Thnks evryun 4 the replies. :D
As for as charangk & maxdemon are concerned i apologize to them if it is a repost.:(

Have a great day :lol:

dreams
03-09-2007, 01:34 PM
Oops!!! Nothin cums up..does this work in FF??

Edit - chkd in IE..awesome man..

PS - not workin in FF.