Cool Website Trick

Australia & New Zealand Homebrewing Forum

Help Support Australia & New Zealand Homebrewing Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

Fents

Not a Beer God
Joined
20/10/05
Messages
4,088
Reaction score
104
Go to any webpage

Copy and paste this into the address bar :

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)

:ph34r:
 
error messages only here, in FX: google tries to search for it and in IE7 I get a message box with cannot find....
 
I should clarify - IE6. It makes the cursor whiz around a bit. You're not missing much...
 
Remove the space between java and script so it's javasript ;)

Moves all the images around not just the cursor, neat trick!
 
Try that, yea sorry i had a space in between java and script. should be one word. Try it i think its cool, works on any web page.
 

Latest posts

Back
Top