Greyhound
09-19-2009, 05:55 PM
1) Script Title: Ultimate Fade-in slideshow (v2.0)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: The script works fine for the most part, but I have the cycles set to 1 and instead of stopping on the last image, it loops around and stops on the 1st image. Is there a way to fix this?
Here is my code:
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [519, 481], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/home_slide_1.jpg"],
["images/home_slide_2.jpg"],
["images/home_slide_3.jpg"],
["images/home_slide_4.jpg"],
["images/home_slide_5.jpg"] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:3500, cycles:1, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 750, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem: The script works fine for the most part, but I have the cycles set to 1 and instead of stopping on the last image, it loops around and stops on the 1st image. Is there a way to fix this?
Here is my code:
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [519, 481], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/home_slide_1.jpg"],
["images/home_slide_2.jpg"],
["images/home_slide_3.jpg"],
["images/home_slide_4.jpg"],
["images/home_slide_5.jpg"] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:3500, cycles:1, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 750, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>