According to strict rules there may be no comma after the last item in an array or property in an object. All browsers except IE 8 and less now error correct for this.
Get rid of the trailing comma (red) after the last imagearray entry (highlighted), scroll the code block to see it:
Code:
<script type="text/javascript">
var mygallery2=new fadeSlideShow({
wrapperid: "slideshow", //ID of blank DIV on page to house Slideshow
dimensions: [960, 485], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/illust_1.jpg", "", "", "A selection of figure artworks."],
["images/illust_2.jpg", "", "", "Technical and realistic Illustrator artworks for secondary education."],
["images/illust_3.jpg", "", "", "A selection of incidental artworks."],
["images/illust_4.jpg", "", "", "A selection of explanatory and instructional images for educational books."],
["images/illust_5.jpg", "", "", "A selection of animal artworks for a variety of educational books."],
],
displaymode: {type:'manual', 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: "slideshowtoggler"
})
</script>
Bookmarks