Iekopē kādu no šiem skriptiem edrešu lodziņā un priecājies par rezultātu 1
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)
2
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; var 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+"px"; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5+"px"}R++}tag=setInterval('A()',5 );document.onmousedown=function(){clearInterval(tag);for(i=0; i<DIL; i++){DI[i].style.position="static";}}; void(0)
3
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=100; y4=100; var DI= document.images; DIL=DI.length; function A(_X,_Y){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+_X+"px"; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+_Y+"px"}R++}document.onmousemove=function(event){_X = event.clientX; _Y = event.clientY; A(_X,_Y);};document.onmousedown=function(){for(i=0; i<DIL; i++){DI[i].style.position="static";}};void(0)
4
javascript:
var acc=1;
var DI=document.images;
var DIL=DI.length;
function A(){
for(i=1; i<DIL; i++){
DI[i].style.position='absolute';
if(DI[i].style.left!=DI[i-1].style.left){
DI[i].style.left = DI[i].style.left+((DI[i-1].style.left-DI[i].style.left)/acc)+'px';
}
if(DI[i].style.top!=DI[i-1].style.top){
DI[i].style.top = DI[i].style.top+((DI[i-1].style.top-DI[i].style.top)/acc)+'px';
}
}
}
function moveFirst(event){
var IE = document.all?true:false;
if(!IE){
var _X=event.clientX;
var _Y=event.clientY;
}
else if(IE){
var _X=window.event.clientX;
var _Y=window.event.clientY;
}
var DIS=DI[0].style;
DIS.position='absolute';
DIS.left=_X; DIS.top=_Y;
}
function Clear(){
clearInterval(tag);
for(i=0; i<DIL; i++){
DI[i].style.position="static";
}
}
document.onmousemove=moveFirst;
A();
var tag=setInterval('A()',5,'JavaScript');
document.onmousedown=Clear();
void(0);