PDA

View Full Version : Fadeinslideshow that doesn't start



follyfarmcottage
09-08-2010, 09:01 AM
1) Script Title: Fadeinslideshow

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

3) Describe problem: I have used this script very successfully on my own domain (www.follyfarm.co.uk) and was using it to do an exact same idea on our village website (www.ilmington.org.uk) but this time the slideshow does not start at all and I am left with the black background.
I have copied the same code that works already and only changed the slide names. Any ideas?

jscheuer1
09-08-2010, 10:06 AM
The images are all 404 not found (from Firefox developer tools - Find Broken Images):


Broken Images - http://www.ilmington.org.uk/index.html


http://www.ilmington.org.uk/assets/show4a.jpg
http://www.ilmington.org.uk/assets/show5a.jpg
http://www.ilmington.org.uk/assets/show6a.jpg
http://www.ilmington.org.uk/assets/show7a.jpg
http://www.ilmington.org.uk/assets/show8a.jpg
http://www.ilmington.org.uk/assets/show10a.jpg
http://www.ilmington.org.uk/assets/show9a.jpg
http://www.ilmington.org.uk/assets/show4a.jpg
http://www.ilmington.org.uk/assets/show5a.jpg
http://www.ilmington.org.uk/assets/show6a.jpg
http://www.ilmington.org.uk/assets/show7a.jpg
http://www.ilmington.org.uk/assets/show8a.jpg
http://www.ilmington.org.uk/assets/show10a.jpg
http://www.ilmington.org.uk/assets/show9a.jpg
http://www.ilmington.org.uk/loading.gif


I tried the first one. It can be found as:


http://www.ilmington.org.uk/assets/show4a.JPG

Except for #15 (loading.gif), which probably was never uploaded to the server, the rest are probably similar. Upper and lower case in paths and filenames almost always matter on the server, almost never on the local machine. Update the code:


var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [350, 280], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["assets/show4a.JPG"],
["assets/show5a.JPG"],
["assets/show6a.JPG"],
["assets/show7a.JPG"],
["assets/show8a.JPG"],
["assets/show10a.JPG"],
["assets/show9a.JPG"] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})

Or rename the files so that they agree.

follyfarmcottage
09-08-2010, 02:11 PM
Thanks for that John it worked a treat. Much obliged.
Cheers
Bruce