Codesupplier.com

free html codes for your website

Bouncing images

Ever wanted to have an image of your choice bouncing around your webpage? This code accesses the image specified, and changes that image into a image that bounces around the page. 

Want it? Get it by following the steps below.

Step 1 - Paste the following into the editor and download .js files

<script language="JavaScript" src="dynlib.js"></script>
<script language="JavaScript" src="bouncingimages.js"></script>

The code uses to scripts to work properly. Download the following... dynib.js and bouncingimages.js

Step 2 - In the BODY tag paste the following

<body onLoad="javascript:loadBouncingImages();">

Step 3 - Download your image 

Download the example image below, or if you wish to use a custom image download that.

Configurations are done inside the the scripts. Open dynib.js in a text editor and edit where neccassary. 

< Back to Scripts List