By accident, I saw such a piece of code in my blog, saying that I just need to copy and paste it into the address bar.
Open a website with images and replace the address bar of IE with the following code. You will see the amazing effect: 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 your convenience, I sorted out: // JavaScript document
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 ()
{
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 );