Jump to content
xisto Community
-[Nero]-

Rotating Images Watch Google Images Spins

Recommended Posts

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

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.