Bouncing Image | JavaScriptSource

Bouncing Image

Justin Arruda Jan 12, 2001
Randomly bounces an image, or anything within a DIV, across the page. Click on the image to start and stop it from moving. Cool!

The JavaScript Source: Image Effects: Bouncing Image

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

1 comment)

I tried your code for the Bouncing Image but the Image failed to move on the screen. It took a fixed position at the top left corner of the screen. My computer uses Microsoft Windows 7 version. I appreciate your looking into the matter and advice

Anis Helou Feb 5, 2014