PDA

View Full Version : Help with Fade-in slideshow script



Marv
11-27-2004, 09:44 PM
I wanted to use this script on my webpage, however, i don't quite understand how to get my images on the site with this scripting. This is the part that i don't really understand:

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]="photo1.jpg"
fadeimages[1]="photo2.jpg"
fadeimages[2]="photo3.jpg"

how can i upload my images on that fadeimages part?

Can anybody please shed some lights? Thank you

exceleqd
11-27-2004, 10:59 PM
Marv,

You need to have the images you want to use somewhere in your website folders. Then change the script by adding the photo names like this:

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]="yourphoto.jpg"
fadeimages[1]="yourphoto2.jpg"
fadeimages[2]="yourphoto3.jpg"

"yourphoto.jpg" being whatever names you have saved your images as. If your images are gif format, make it gif instead of jpg.

Hope this helps! Make sure you upload your images when you upload the updated page with the script.