-[Nero]- 0 Report post Posted November 17, 2006 Here is something cool. Open the Google image search and search for any image u like. Then, replace the whole address to this java script: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); You will see the image rotate in a circle but it will end after you click next page or search for another image. Notice from jlhaslip: Added Code tags Share this post Link to post Share on other sites
rvalkass 5 Report post Posted November 17, 2006 Just ran it on Google and then here on the Trap. Absolutely no practical use, but very fun to watch! I am presuming it will work on any website at all, not just Google. Share this post Link to post Share on other sites
Saint_Michael 3 Report post Posted November 17, 2006 I just tried it and either I am stupid (which I am not), but I put it into th address bar and nothing happen am I missing something? Share this post Link to post Share on other sites
Bkag 0 Report post Posted November 17, 2006 Sm, im in the same boat as you, i just get google saying we cannot find a page containing java script:R=0; x......................I assume you put this in the address bar ? Share this post Link to post Share on other sites
NigaiAmaiYume 0 Report post Posted November 18, 2006 I would assume there should be some place you add the address of the original image. I'm just not sure where in the code you listed....Would someone be nice enough to clear the matter up for us that are bored and easily amused? ^-^ Share this post Link to post Share on other sites
interpol 0 Report post Posted May 8, 2007 Ok,so it won't work ....try letting the space out between java and script so you get "java script:....."btw: Does anyone know a site to (proffesionaly) learn javascript? Share this post Link to post Share on other sites