View Full Version : Ultimate Fade-in slideshow (v2.4) - stop on last slide, please

10-31-2011, 05:51 PM
1) Script Title: Ultimate Fade-in slideshow (v2.4)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: Hi, I am hoping this doesn't show up twice, sorry if it does. I posted earlier and cannot seem to find the thread.

I want this slide show (Ultimate Fade-in slideshow (v2.4)) to run thru once and stop on the last slide. As it is, it runs thru and goes back the to the first slide listed in the array. I have searched this forum for the possible solution, but I cannot find if it is posible. Any help is truly appreciated.

I have type as "auto" and cycles as "1", wraparound as "false"

see it run here: http://www.weddingcoach.bz/

[Moderators note: due to some of the words related to this topic, posts may not appear without specific permission from moderators. This is due to our automated spam-blocking system that looks for certain keywords. Moderators will check the new posts and approve them as soon as possible, so please be patient if your reply does not appear immediately. In this case, I think the term might be 'wedding' as in your domain name.]

11-01-2011, 02:12 AM
That's not the slideshow that you currently have on that page. However, any Ultimate Fade 2.4 slideshow may be made to stop on the last image by setting the displaymode as you say you have and by adding the highlighted as shown in the below demo code:

var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //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", "", "", "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://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:2500, cycles:1, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: "",
oninit: function(){

Don't miss the added comma (red) after the togglerid value.

11-02-2011, 11:33 PM
Hey there,
Many thanks - Yes I had to quickly add a diff one temporarily to the page (fussy client), but will be going back to add the Ultimate Show now that I have your input. It seems to flow better than what is currently there.