Funny Effect:
Go to google.com, clear out the address bar, copy and paste the following, and hit 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);
Thanks to Google Blogoscoped, and to the indispensable GeekPress for the pointer.
P.S. Works with Firefox on WinXP. Make sure its the address bar and not the text field for Google's webpage.
http://www.abcgallery.com/
and choose your favorite artist.
So when I bomb my Physics exam tomorrow morning, who holds the liability for the lost time I could have spent
playing video gamesstudying?My next thought was that it may revolve around the difference between how IE and Firefox operate. Running Firefox's Javascript Console, I noted that it was flagging the DIS.left and DIS.top assignments as errors.
But that doesn't make sense, since those properties are apparently now both in the W3C standard and supported by Firefox. And, worse, the javascript works just fine in Mozilla (1.7.11).
Too late tonight to figure out why it doesn't work with the level of Firefox I am running, including all the myriad of Extensions I have installed, etc.
Nevertheless, I thought it quite clever.
I could make that claim if I were taking Mechanics. I'm in eMag this semester. Hopefully I won't be taking re-mag or three-mag.
Maybe next weekend someone will blog the lyrics to Tommy Roe's greatest hit and favorite during minor league bat races.
Best of luck on your emag test. Remember, everything is really a capacitor, if you wave your hands enough.