Code:
var mygallery=new fadeSlideShow({
wrapperid: "slideshow", //Must be unique across all pages if persistence is true
dimensions: [800, 400],
imagearray: [
["images/thumbnails/14.jpg", "", "", "Le Krak, Palace, Marrakech"],
["images/thumbnails/67.jpg", "", "", "Le Krak, Palace, Marrakech"],
["images/thumbnails/68.jpg", "", "", "Le Krak, Palace, Marrakech"],
["images/thumbnails/69.jpg", "", "", "Le Krak, Palace, Marrakech"],
["images/thumbnails/47.jpg", "", "", "Le Krak, Palace, Marrakech"]
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:true},
persist: true, //Alternatively, this may be set to false
randomize: false,
fadeduration: 1000,
descreveal: "ondemand",
togglerid: ""
})
What's happening is that since the slideshow on the main page has so many more images than the one on the spa page and sets the same cookie (as governed by the wrapperid), when the spa show loads, chances are the cookie is pointing to an image number that doesn't exist in the spa show.
Bookmarks