Site hosted by Angelfire.com: Build your free website today!
tag itself, like this: You now essentially have the script installed and ready to run. Read on to see how to configure it to your liking. Configuring the script As mentioned in the description, this script can animate an unlimited number of images. The instructions above creates a situation where three images are animated (like in the demo). Obviously, you'll want to know how to configure it to handle any number of images. The process to this is very simple. Each image is identified throughout the entire script with the name "chipx". For example, the first image is called "chip1", the second "chip2", and so on. Look in the code of Steps 2, 3, and 4 (yes, all of them are involved). Here are the exact steps to modifying the script so it animates any number of images: 1) Inside the code of Step 2, add/delete more "chipx" variables to it as specified in the documentation, depending on the number of images you're using. 2) Inside the code of Step 3, add/delete more of the
tags to your page accordingly as well. Make sure the "ID" attribute inside each of these
is defined with the unique chip name of the flying image (ie: chip1). 3) Finally, you need to make a small change to the code of Step 4. Let's say I'm animating two images. The code after the change would be: onLoad="pagestart();" onUnload="if(brOK) {stopme('chip1'); stopme('chip2');}" Notice how I called the stopme() function two times, each with the ID of the two images used as it's parameter. If I were animating four images, the code would look like the following instead: onLoad="pagestart();" onUnload="if(brOK) {stopme('chip1'); stopme('chip2');stopme('chip3');stopme('chip4');}" That's all there is to it. The instructions may look long, but luckily, it shouldn't take you long to figure out exactly how to configure this great script to your liking! --------->