Page 1 of 2

Just for fun (javascript)

Posted: Fri Oct 20, 2006 4:38 pm
by hawleyjr
Just for fun. Try this:

Replace the URL of this page (Or any page with pictures) with the following JavaScript and hit enter:

Code: Select all

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);
I found this here[url]


Edit: I added the emoticons to make it even better:

:arrow: :idea: :?: :!: :evil: :twisted: :roll: :wink: :cry: :oops: :P :x 8O :? 8) :lol: :o :( :) :D ImageImageImage

Posted: Fri Oct 20, 2006 4:40 pm
by Luke
that's nuts

Posted: Fri Oct 20, 2006 4:42 pm
by hawleyjr
The Ninja Space Goat wrote:that's nuts
LOL, now it looks like my Pearl Jam pumpkin and your Tool Avatar are dancing..

Posted: Fri Oct 20, 2006 4:42 pm
by Burrito
awesome. I really liked trying to click the 'Post Reply' button as it was flying around the screen.

Posted: Fri Oct 20, 2006 4:45 pm
by MrPotatoes
that is hilarious. i put it into the forum with everyone's sigs and they went in a circle.

javascript is so cool. i should really learn

also, isn't that a huge security risk?

Posted: Fri Oct 20, 2006 4:50 pm
by hawleyjr
MrPotatoes wrote:also, isn't that a huge security risk?
Not any more of a security risk than me adding Javascript via greasemonkey extension

Posted: Fri Oct 20, 2006 5:16 pm
by RobertGonzalez
That was pretty mind blowing. You might want to preface that post with a

WARNING: IF YOU HAVE EPILEPSY DO NOT DO THIS!

Posted: Fri Oct 20, 2006 8:41 pm
by s.dot
Everah wrote:That was pretty mind blowing. You might want to preface that post with a

WARNING: IF YOU HAVE EPILEPSY DO NOT DO THIS!
I have photosensitive epilepsy. However I don't see anything wrong with that... what's the concern regarding epilepsy? Just curious...

Posted: Fri Oct 20, 2006 8:48 pm
by alex.barylski
Whoa...that was neato...

Trying to click reply was a challenge :P

Posted: Fri Oct 20, 2006 8:53 pm
by neophyte
Trippin!

Very nice.

Posted: Sat Oct 21, 2006 8:08 pm
by RobertGonzalez
scottayy wrote:
Everah wrote:That was pretty mind blowing. You might want to preface that post with a

WARNING: IF YOU HAVE EPILEPSY DO NOT DO THIS!
I have photosensitive epilepsy. However I don't see anything wrong with that... what's the concern regarding epilepsy? Just curious...
I used to work with a woman who was epileptic and was so sensitive to circular motion that she would seize within seconds of seeing something like that. Literally.

Posted: Sat Oct 21, 2006 9:10 pm
by akimm
KUDOS, THAT WAS FREAKING COOL!

Posted: Sat Oct 21, 2006 9:21 pm
by s.dot
Everah wrote:I used to work with a woman who was epileptic and was so sensitive to circular motion that she would seize within seconds of seeing something like that. Literally.
Wow, scary!

Posted: Sat Oct 21, 2006 9:31 pm
by RobertGonzalez
Yeah, especially when you don't know about it in advance and send her one of those 'visual conundrum' type of images where there are concurrent, cross-directional swirling vertigos. Yeah, that was, um what's the word... interesting.

Posted: Sun Oct 22, 2006 6:42 pm
by pedrotuga
awsome!