Kitz Forum

Chat => Chit Chat => Topic started by: kitz on November 01, 2006, 04:57:53 PM

Title: Cool
Post by: kitz on November 01, 2006, 04:57:53 PM
Saw this on another forum..  and it amused me.

1) Navigate to a page of your choice

2) Copy the following code and then paste into your browsers address bar

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.getElementsByTagName("img"); 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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);




Title: Re: Cool
Post by: roseway on November 01, 2006, 07:19:31 PM
What's it supposed to do? It doesn't do anything here in Firefox 2.0.

Eric
Title: Re: Cool
Post by: soms on November 01, 2006, 07:40:31 PM
Doesn't seem to do anything in IE7/FF1.5? Must be missing something?
Title: Re: Cool
Post by: feliscatusx2 on November 01, 2006, 07:43:22 PM
Ffox 2 dosn't know how to open this address Blah Blah Blah
Title: Re: Cool
Post by: Astral on November 01, 2006, 08:39:25 PM
I reckon Kitz is celebrating April Fools Day 5 months early. (or 7 months late)
Title: Re: Cool
Post by: kitz on November 01, 2006, 09:17:49 PM
works fine here in IE, firefox and Opera

 :'(

[attachment deleted by admin]
Title: Re: Cool
Post by: kitz on November 01, 2006, 09:22:56 PM
Just realised..  it doesnt work on a blank page.. 
You already have to have a page open .. then paste the code over the top of the existing url..  maybe thats why it isnt working for you?
Title: Re: Cool
Post by: roseway on November 02, 2006, 07:31:22 AM
Yes, that's it Kitz. And you're right, it IS fun.

Eric
Title: Re: Cool
Post by: Accordion on November 02, 2006, 09:20:09 AM
Just wondering how I can make use of that for some fun ......................
Title: Re: Cool
Post by: soms on November 02, 2006, 04:46:05 PM
Quote
Just realised..  it doesnt work on a blank page.. 
You already have to have a page open .. then paste the code over the top of the existing url..  maybe thats why it isnt working for you?[/qoute]

Well spotted kitz, indeed was using new tab to try it out. Yes does work when pasted over top of page. Interesting to see the results on different websites.
Title: Re: Cool
Post by: kitz on November 04, 2006, 11:23:58 AM
heh..  glad you guys got it working in the end and it wasnt just me.

I ammended the first post to clarify.. 

pweeeeeeeety :)
Title: Re: Cool
Post by: person on November 29, 2006, 09:10:11 AM
test
Title: Re: Cool
Post by: kitz on November 30, 2006, 12:09:47 AM
test
Title: Re: Cool
Post by: timp on November 30, 2006, 10:11:20 AM
i love the way that images that are links still work, you just have to catch them first to click.