I think you want a pause. What if the images are going by too quickly for the first time viewer to read the descriptions? They would like a pause for that. And, if there are links, you really need a pause so that the link the user is clicking on doesn't change while they are in the process of clicking on it. The example you linked to has a mouseover pause. The only real problem with the pause was that it required more extensive modification to get the effect you want to both work and to look right. The mouseout event was a problem in manual mode though because it dismissed the description. In always mode, there were the images to control the descriptions. I chose always mode and set the dimensions of the control images to 0. One other problem with the mouseover pause was that the length of time it took to resume motion equaled the pause rate configured for the slide show. This results in either too quick of a show, or too long of a pause after the mouseout. I made a separate property for that - mouseresume.
After all that, and the onbeforeslide property I mentioned before, and a few more modifications, I came up with this:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="fadeslideshow_onbefore.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery2=new fadeSlideShow({
wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://i26.tinypic.com/11l7ls0.jpg", "#what", "", "Nothing beats relaxing next to the pool when the weather is hot."],
["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
["http://i30.tinypic.com/531q3n.jpg", "", "", "Eat your fruits!"],
["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:4000, cycles:0, wraparound:false, mouseresume:300},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 600, //transition duration (milliseconds)
descreveal: "always",
togglerid: "",
onbeforeslide: function(layer, idx){
this.showhidedescpanel('hide');
},
onslide: function(layer, idx){
if(this.setting.imagearray[idx][3]){
this.setting.$descinner.empty().html(this.setting.imagearray[idx][3])
this.showhidedescpanel('show');
}
}
})
</script>
</head>
<body>
<div id="fadeshow2"></div>
</body>
</html>
It uses this modified script (right click and 'save as'):
Attachment 3292
Bookmarks