NOW,

The interesting thing to learn here is that there are several things you could pass to the function A and not just the images. [Which is just some mathematical transformation that goes back n forth, you for instance could make us another function]

by changing here:

Here is the list of properties for a html document.

alinkColor Specifies the color of activated links in the document (Alink attribute).
all[]IE4+ exclusive array that contains all of the elements within the document. Use document.all["elementID"] or document.all.elementID to access an element.
anchors[] An array containing all of the anchors in the document.
applets[]An array containing all of the applets in the document.
bgColor Specifies the background color of the document.
cookieA string containing the name/value pair of cookies in the document.
domain Specifies the domain name of the server that served a document. Used for security purposes.
embeds[]An array containing all of the plug-ins in the document, represented using the <embed> tag.
fgColor Specifies the default text color of the document (text attribute).
fileSizeReturns the file size of the current document. In IE Windows, a numeric string is returned, while in IE Mac, a number instead. IE only property.
forms[] An array containing all of the forms on the page.
images[]An array containing all of the images on the page.
lastModified Specifies the last modified date of the document, as reported by the web server.
linkColorSpecifies the color of unvisited links in the document (link attribute).
links[] An array containing all of the links on the page.
plugins[]Same as embeds[] object.
readyState IE4+ exclusive property that specifies the loading status of the document. It returns one of the below 4 values:
1) uninitialized- The document hasn't started loading yet.
2) loading- The document is loading.
3) interactive- The document has loaded enough whereby user can interact with it.
4) complete- The document has fully loaded.
referrerA string that specifies the URL in which the user derived from to reach the current, usually via a link.
title Specifies the title of the document. Read/write in modern browsers.
URLA string that specifies the complete URL of the document.
vlinkColor


Now that you know all the properties i want to highlight the last one and probably bring it to your notice :

cookie

The value of this property can be manipulated to gain access into stuff [i.e HACK] just the way you have managed to play around with the pictures.

Homework!

On Thu, Jul 23, 2009 at 10:39 AM, Simon Mbuthia <simon.mbuthia@gmail.com> wrote:
haha... you pasted one line of code, so that'd be sh 20 for you. I would have charged 15/- per LOC and paid you royalties.. something like 5/- Not bad business, eh? ;)

2009/7/23 Benjamin <anangwe@gmail.com>

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


_______________________________________________
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



--
שִׁמְעוֹן

_______________________________________________
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



--
********************************************************************************************************************
Andrew Mecca
Solutions Architect |
AXE360 LABS INC. | Embrace Technology Advantage
Cell | (+254) 720 972797
Email | axe360@gmail.com
Web | www.axe360.hostse.com