Since what you have there are two identical sets of images (I'm guessing just as a mock up), what do you want to have happen when the second batch of images has cycled through once? Are there the same number of images in both sets?
In any case, those things can be tweaked. But if you're just going to go through the second set once (as your current code implies), you could simply include them in the first set.
But say you want the second set to be continuous. Then you could do like so:
Code:
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="fadeslideshow.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 ShowPics=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [400, 300], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/1.png"],
["images/2.png"],
["images/3.png"],
["images/4.png"],
["images/5.png"],
["images/6.png"]
],
displaymode: {type:'auto', pause:2000, cycles:1, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
oninit: function(){++this.setting.currentstep},
onslide: function(){
if(this.setting.currentstep === this.setting.imagearray.length){
setTimeout(ShowPics2, this.setting.displaymode.pause);
}
},
togglerid: ""
})
var ShowPics2 = function(){
Showpics=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [400, 300], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/7.png"],
["images/8.png"],
["images/9.png"],
["images/10.png"],
["images/11.png"],
["images/12.png"]
],
displaymode: {type:'auto', pause:2000, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
});
}
</script>
</head>
<body>
This page for demonstration purposes only. All images © Bistro Don Giovanni or their respective copyright holders.
<div id="fadeshow1"></div>
</body>
</html>
Demo:
http://home.comcast.net/~jscheuer1/s...ith2ndshow.htm
Bookmarks