1 think i should have charged for these . 20 bob per LOC

On Thu, Jul 23, 2009 at 10:21 AM, Simon Mbuthia <simon.mbuthia@gmail.com> wrote:
Hey, I checked the code out, polished it up and it now looks like this:


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);

Actually, it can work on any page with images. I happened to have a flickr page open with search results for "kenya colonial" [I love history]
I pasted it in the address bar with the results showing and what I saw was beautiful. Try it. Here's the flickr page link: http://www.flickr.com/search/?q=kenya+colonial

Enjoy ;)

Me.



2009/7/22 Benjamin <anangwe@gmail.com>
Hey skunkers try these found it somewhere.

1 ) go to www.google.com

2 ) Click on images and search for any image of your choice " cat,mouse,baby,house "

3 ) after the search is complete

4 ) copy and paste the script below in the address bar and click enter


--------------------------------------------------

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)


---------------------------------------------------------





--
שִׁמְעוֹן

_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
Other lists
-------------
Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science:  http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi:     http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general