Ok, please try the below modified .js file. Then in your initialization code, make use of the new "desc" option to specify corresponding text descriptions for each slide:
Code:
<script>
var cubeshowvar1 // arbitrary but unique variable to store slideshow instance
jQuery(function($){
cubeshowvar1 = new jkcubeslideshow({
id: 'cubeshow1',
dimensions: [300, 385],
pause: 1000,
desc: ['this is food1.jpg', 'this is food2.jpg', 'this is food3.jpg'],
images: [
['food1.jpg'],
['food2.jpg'],
['food3.jpg'],
['food4.jpg'],
['food5.jpg'] //<-- no comma after last image
] //<-- no comma after last setting
})
})
</script>
You will also want to increase the height of the slideshow so it can accommodate the text descriptions. The modified .js file also pauses the slideshow onmouseover.
Bookmarks