A relatively interesting piece of code - Software Insights - Tian Meng Piaoxiang

by xiaxiaojun on 2008-01-26 16:12:30

A rather interesting piece of code

Go to any random website, enter the following content in the address bar, and press Enter. See what happens:

```javascript

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

```

This script will make all the images on the webpage move in a sinusoidal pattern, creating an interesting animated effect.