View Full Version : Ultimate Fade-in Slideshow (script newbie)

02-04-2006, 09:54 PM
Script: Ultimate Fade-in Slideshow 1.5

I use FrontPage 2003 and don't often try to add any coding beyond what FP does for me. But I would like to add a slideshow to some of my web pages.

I am playing around with this script (attached), but can't get it to display anything beyond those little icons with x's in them. Plus the word "undefined" has popped up as a runtime error on occasion, and when I test the page in IE 6, and put my mouse over the icon, I can see the word "undefined" at the end of the file path.

I'm sure I'm doing something very basically wrong, but would appreciate help.:confused:

02-05-2006, 03:35 AM
Your image arrays should look like so:

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["/images/301.jpg", "", ""] //plain image syntax
fadeimages[1]=["/images/ashcave301.jpg", "http://www.marsh-hollow.com", ""] //image with link syntax

var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["/images/301.jpg", "", ""] //plain image syntax
fadeimages2[1]=["/images/ashcave301.jpg", "http://www.cssdrive.com", ""] //image with link syntax

Literally, square brackets and empty quotes included.