![]() |
Dancing Images Fun
On your Internet Explorer browser, put this on your address bar:
Code:
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); Try it on this page, and watch the images swirl! :D Press enter again to get 95% computer utilization :edgarrock: Protip - To copy, highlight the beginning, hold down the shift key, click the scroll bar all the way to the right, and click on the last segment (void (0);, then release shift. |
It doesnt work for me ; ;
|
It should look something like this
|
:tpg: LOL at a fury or smilies, Philippine flags, buttons, oh, and avatars and sigs going crazy!
That's fun. |
There is no dancing or swirling. All that code does is distort the positioning of the page's images.
|
mine swirls!
do a google img search the execute the code |
That effect is pretty sweet. Awesome code!
|
Quote:
http://img235.imageshack.us/img235/7...ndomnl4.th.jpg |
not working for me too...
|
Internet Explorer only, fellows :( It works best with a google images search. Alternatively, try it while in the main forums page...
|
Wow haha that is really nice. The swirling is crazy. Also when you scroll down it's kind of funny seeing how all of the post images are striped.
Edit: Right when I posted a quick reply it grabbed my avatar and threw it with the swirling. Pretty nice coding there. |
All times are GMT -5. The time now is 04:48 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, vBulletin Solutions, Inc.