| Back to logs list
585460 2007 年 09 月 16 日 13:21 Reading (loading. ..) Comments (1) Category: Miscellaneous world Kan
browser can browse the Web, you can view pictures,
nike air force 1, videos,
ナイキ エアフォース1, pictures and more features can be saved,
air force 1, but you may not have thought of or had not seen the following features: visit the page contains a picture element with a regular rotation around the
How is this possible? First of all not open a website,
ナイキ エアフォース, a website will do random! Then copy the following code into the address bar, enter OK, see what happens?
Here is the code,
エアフォース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);
========================== ====
this time, the page changes, the page containing the image is extracted out, they arranged a circle spinning. In fact, this theory is probably supported by the browser function of the implementation of java, javascript code that part of the picture pages were extracted and arranged for each image axis position, added the definition of circular motion. Interested parties may wish to operate to play,
エアフォース, relax for yourself