Holy Jumping JPEGS

If you find you’re bored silly, you can always try the jumping JPEG trick. The jumping JPEG will provide you with seconds,minutes or possibly hours of, depending on your level of desperation, fun. Here’s what you need to do.

1. Select and copy the following code:

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);

2. Press Alt + D on your keyboard to highlight the address in the address bar.

3. Press Ctrl + V to paste the code into the address bar.

4. Press enter.

If you’ve done it correctly, much joy and amusement will follow. We may even get a chuckle out of you. This is a very cool trick to do to turn those frowns upside down. Oh, I almost forgot, to stop the jumping JPEG just refresh the page.


Related Posts

What Is The Book Of Mozilla?
Cool Trick: Manipulate Web Pages With Cool Javascript

Leave a Comments »

Trackback | RSS 2.0

1. exinco - May 13, 2008

fun, the picture are crawling around. test on you blog :)

2. Michael - May 13, 2008

Wow! Very neat..

3. admin - May 13, 2008

hi exinco and Michael,

We had fun too :-)

4. jpeg - May 21, 2008

[…] […]

Have Your Say »






Comments links could be nofollow free.





Busted Tees-The Joke's On You

Shop for all of your Supernatural favorites at WBTVShop.com!
Technology Blogs - BlogCatalog Blog Directory