PDA

View Full Version : Help: Image rotation on website



bluejfm
24 Jul 2006, 02:38 PM
Hello,

I'm a rookie and I'm trying to install image rotation script on my website. Every script tells me to name an image, or name an image and add it to a directory. I have no clue how to do this. For example:

"4) Define the directory where the images are located, the generic image name and extension in this section of the script:

gImages = new Array(gNumberOfImages);
for (i=0; i<gNumberOfImages;i++){
gImages[i] = "images/image" + i + ".gif"; // change to .jpg if applicable
}

Make sure that all the images are named sequentially (i.e. image0.gif, image1.gif, etc.), else the array will get corrupted, and start numbering with 0, not with 1. The name="slide" expression has to be inside the HREF tag to invoke the script."

Thanks for your help!

pilotdesigns
27 Jul 2006, 10:32 PM
Try this... it has a wizard that will do it for you. All you have to do is upload the images to your server.

JavaScript Slideshow Wizard (http://www.barelyfitz.com/projects/slideshow/)