PDA

View Full Version : Ultimate Fade-in slideshow (v1.51)



midevilb
05-11-2008, 04:46 AM
I copied this script into my page exactly as it appears at

http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

I edited only the portion of the script that needed as follows:

THIS
_____________________________
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
_____________________________



WAS MODIFIED TO THIS:
_____________________________
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["/images/slide01.jpg", "/gallery.html", "gallery"] //plain image syntax
fadeimages[1]=["/images/slide02.jpg", "/gallery.html", "gallery"] //image with link syntax
fadeimages[2]=["/images/slide03.jpg", "/gallery.html", "gallery"] //image with link and target syntax
fadeimages[3]=["/images/slide04.jpg", "/gallery.html", "gallery"]
_____________________________

I don't know how I managed to botch this with such a small change... I thought I was being careful not to damage the script!

Any help?

Thanks,
Brian