Replace:
Code:
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [756, 282], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["/Config_ImagesFolder/slideshow/slide_brands03.jpg", "http://www.runnersmark.com/category_s/1817.htm", "", ""],
["/Config_ImagesFolder/slideshow/slide_price2.jpg", "http://www.runnersmark.com/category_s/1817.htm", "", ""],
["/Config_ImagesFolder/slideshow/slide_shipping2.jpg", "http://www.runnersmark.com/returns.asp", "", ""],
["/Config_ImagesFolder/slideshow/slide_shipnextday2.jpg", "http://www.runnersmark.com/articles.asp?ID=57", "", ""] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:4500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
with:
Code:
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [756, 282], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["/Config_ImagesFolder/slideshow/slide_brands03.jpg", "", "", ""],
["/Config_ImagesFolder/slideshow/slide_price2.jpg", "http://www.runnersmark.com/category_s/1817.htm", "", ""],
["/Config_ImagesFolder/slideshow/slide_shipping2.jpg", "http://www.runnersmark.com/returns.asp", "", ""],
["/Config_ImagesFolder/slideshow/slide_shipnextday2.jpg", "http://www.runnersmark.com/articles.asp?ID=57", "", ""] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:4500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: "",
oninit: function(){
var w = this.setting.$wrapperdiv, $ = jQuery;
w.find('.gallerylayer').each(function(){
$(this).find('img').eq(0).attr('usemap', '#1');
});
$('map[name="1"]').bind('mouseenter', function(){w.mouseenter();});
}
})
Bookmarks