View Full Version : Ultimate Slideshow issue

09-24-2009, 07:02 PM
1) Script Title: Ultimate fadein slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem:

I am in a time crunch so I am not keen on installing V2.0 of the script just yet, but I plan on it later next month.

In the meanwhile I was wondering:

When the slide show displays its images the user has the ability to click on any image that appear in the slideshow. Clicking on an image results in results in a 404 error - it is trying to load something called undefined.

I have looked through the jscript and I can not figure out what the click action is trying to load.

I realise upgrading to 2.0 will probably solve the issue, but in the meanwhile I would like to figure out what is going on.

sample web page here:



09-24-2009, 10:51 PM
Right now you have no URL associated with each image inside the .js file:

fadeimages[0]=["images/photo1.jpg"] //plain image syntax
fadeimages[1]=["images/photo2.jpg"] //plain image syntax
fadeimages[2]=["images/photo3.jpg"] //plain image syntax

The proper structure for fadeimages[] is:

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