Over the years as the forum has been updated, some of these attached scripts have gotten lost. But you don't need to modify the fadeslideshow.js file to achieve this. Simply make the highlighted changes/additions to the on page code in the head section as shown:
Code:
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [328, 310], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["dongbistroimg/slide-1a-salad.png", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
["dongbistroimg/slide-1b-figs.png", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
["dongbistroimg/slide-1c-pizzachef.png"],
["dongbistroimg/slide-1d-plumdrink.png", "", "", "What a beautiful scene with everything changing colors."] //<--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: 1, //transition duration (milliseconds)
descreveal: "ondemand",
onslide: function(){
this.setting.fadeduration = 500;
this.setting.onslide = function(){};
},
togglerid: ""
})
Bookmarks