Esato

Forum > General discussions > Non mobile discussion > Magic Code

Author Magic Code
axxxr
K700
Joined: Mar 21, 2003
Posts: > 500
From: Londinium
PM, WWW
Posted: 2006-10-14 06:17
Reply with quoteEdit/Delete This PostPrint this post
Copy and paste the code below in your address bar and hit ENTER!

javascript:r=0;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*.1+i*.25+1.6)*300+300;dis.top = Math.cos(r*.05+i*.24+.24)*200+200;}r++;}setInterval('a()',5);void(0);
_________________
BELIEVE|TERRORSTORM

[ This Message was edited by: axxxr on 2006-10-14 19:01 ]
rockygali
K810 Blue
Joined: Nov 21, 2005
Posts: > 500
From:
PM, WWW
Posted: 2006-10-14 06:36
Reply with quoteEdit/Delete This PostPrint this post
hhmmm, will this invalidate my system and shut it down?

:: UPDATE ::

i hope nothin happens with my PC... ive open it via FireFOX? no effect

tho its wacky with InternetExplorer... kewl

:: DUMB UPDATE ::

oh its workin with firefox... its important to paste it a non-empty page.. sheeshh silly me


[ This Message was edited by: rockygali on 2006-10-14 05:40 ]
Evil Eye
Aino White
Joined: Jun 23, 2004
Posts: > 500
From: Pune, Maharashtra, India
PM
Posted: 2006-10-14 11:40
Reply with quoteEdit/Delete This PostPrint this post
its cool dude.
nice one!
i-mate K-JAM and Windows Mobile Discussion Thread
Proud owner of Samsung Galaxy Pro, i-mate K-JAM & Nokia N81
spikeyjac
W890 Black
Joined: May 30, 2006
Posts: > 500
From: west yorkshire! Mobile: w890i
PM
Posted: 2006-10-14 11:50
Reply with quoteEdit/Delete This PostPrint this post
cool!
Johnex
P990
Joined: Nov 26, 2002
Posts: > 500
From: Stockholm/Sweden
PM, WWW
Posted: 2006-10-14 12:08
Reply with quoteEdit/Delete This PostPrint this post
I cleaned up the code a bit made it a bit smaller.
javascript:r=0;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*.1+i*.25+1.6)*300+300;dis.top = Math.cos(r*.05+i*.24+.24)*200+200;}r++;}setInterval('a()',5);void(0);

[ This Message was edited by: Johnex on 2006-10-14 11:08 ]
QuickShare
P990 no flip
Joined: May 06, 2006
Posts: > 500
From: MYR
PM
Posted: 2006-10-14 12:39
Reply with quoteEdit/Delete This PostPrint this post
i got nothing from the copy paste .. what is it actually?
My Flickr Site..
Flickr.com
Most Popular Newbie 2006
Burgaz
P990
Joined: Mar 25, 2004
Posts: > 500
From: Cwmbranistan, S. Wales
PM, WWW
Posted: 2006-10-14 13:01
Reply with quoteEdit/Delete This PostPrint this post
don't do it if, like me, you're suffering with a hangover....
I Fantasy Worlds and Disney Girls.
Currently using: iPhone
>500
Vivaz Black
Joined: Jan 24, 2006
Posts: > 500
PM
Posted: 2006-10-14 13:02
Reply with quoteEdit/Delete This PostPrint this post
Quote:

On 2006-10-14 12:39:09, QuickShare wrote:
i got nothing from the copy paste .. what is it actually?




make sure you have a website loaded, and not a blank page. Make sure there is no space like mentioned above by axxr.........
goldenface
Sony Xperia Z3 Compact
Joined: Dec 17, 2003
Posts: > 500
From: Liverpool City Centre
PM
Posted: 2006-10-14 13:03
Reply with quoteEdit/Delete This PostPrint this post
Didn't see a thing? What is it?
scottt
X1 Silver
Joined: Aug 22, 2005
Posts: > 500
From: North Yorkshire
PM
Posted: 2006-10-14 13:06
Reply with quoteEdit/Delete This PostPrint this post
LOL thats pretty cool
I my 32GB iPhone 3GS

strizlow800
G900 Brown
Joined: Aug 23, 2006
Posts: > 500
From: Macedonia, Skopje
PM
Posted: 2006-10-14 18:16
Reply with quoteEdit/Delete This PostPrint this post
Yeah. It is interesting.
axxxr
K700
Joined: Mar 21, 2003
Posts: > 500
From: Londinium
PM, WWW
Posted: 2006-10-14 19:09
Reply with quoteEdit/Delete This PostPrint this post
Quote:

On 2006-10-14 12:08:11, Johnex wrote:
I cleaned up the code a bit made it a bit smaller.




your code isn't working mate,for some reason my original one only works! [addsig]
Cycovision
P990
Joined: Nov 30, 2003
Posts: > 500
From: England
PM, WWW
Posted: 2006-10-14 19:30
Reply with quoteEdit/Delete This PostPrint this post
Johnex's code works fine in my browser. You have to scroll back to the top of the page after you've cut and pasted the code and clicked 'go' to see it though
axxxr
K700
Joined: Mar 21, 2003
Posts: > 500
From: Londinium
PM, WWW
Posted: 2006-10-14 20:00
Reply with quoteEdit/Delete This PostPrint this post
Yeh cheers.....thats the part i missed....you need to schroll back to the top of the page!

Johnex your code is good mate!

[addsig]
Johnex
P990
Joined: Nov 26, 2002
Posts: > 500
From: Stockholm/Sweden
PM, WWW
Posted: 2006-10-14 21:20
Reply with quoteEdit/Delete This PostPrint this post
what that code does is pick up all the images on the page and make them float in an orbit around a specific point in the middle of the page. works best in pages with thumbnails like google images, as you get a constant flow of the orbit, and as the images are all the same size, you get a cooler effect (and the google logo floating around )

if anyone wants a more through explanation of the code, i can post it.

[ This Message was edited by: Johnex on 2006-10-14 20:21 ]
Access the forum with a mobile phone via esato.mobi