Bouncing Images 2

v1.0 - Apr 17, 2006
bouncingimages2.zip (13k)


Bouncing Images 2 is a Dynamic HTML script that adds a number images to your document that move around bouncing back and forth off the edges of the browser window. Multiple images of different dimensions and image source are added to your document that travel around continuously at different speeds & angles.

   Features:

  • Allows multiple images with different dimensions and image source.
  • Easily configured to remove images or add more images.
  • Simple installation.

* This script requires the Dynamic HTML scripting library dynLib. For more information about dynLib please visit the dynLib website.

Installation

1. Upload the files dynlib.js & bouncingimages2.js then link them to your document as JavaScript include files. Add the following code between the <head> & </head> tags:

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

2. Upload the image files ball1.gif, ball2.gif & ball3.gif to your website. Set the path to these images within the configuration section of the file bouncingimages2.js.

Configuration

The configuration section of the file bouncingimages2.js allows you to adjust the number images, image source, size & speeds.

Source Code

  bouncingimages2.js (6k)


Bouncing Images 2 by Lloyd Hassell

Website: lloydhassell.brinkster.net
Email: lloydhassell@hotmail.com