Advanced Search

Results 1 to 5 of 5

Thread: Ultimate Fade Slideshow - Stop On Last Image

  1. #1
    Join Date
    May 2012
    Posts
    2
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Ultimate Fade Slideshow - Stop On Last Image

    Ultimate Fade Slideshow

    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    I wish to run the slideshow once and have it stop and remain on the last image displayed. By default the slideshow returns to the first image and stops. Is there a way to alter one of the parameters to have the script stop on the last image. I've played around with some of the parameters without any success.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,690
    Thanks
    43
    Thanked 3,129 Times in 3,095 Posts
    Blog Entries
    12

    Default

    Add the highlighted as shown to your on page init:

    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://i30.tinypic.com/531q3n.jpg"],
    		["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(){
    		--this.setting.totalsteps;
    	}
    })
    Don't miss the added comma (red) after the togglerid value.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following 2 Users Say Thank You to jscheuer1 For This Useful Post:

    hierogfx (05-09-2012),katebellami (05-29-2012)

  4. #3
    Join Date
    May 2012
    Posts
    2
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default

    John -
    Thanks for the help . . . your code worked perfect and I never would have figured it out . . .

    Bill

  5. The Following User Says Thank You to hierogfx For This Useful Post:

    katebellami (05-29-2012)

  6. #4
    Join Date
    Jun 2010
    Posts
    58
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default

    Thank you also!! This was my issue as well, and no way I would have figured it out either!

  7. #5
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    180
    Thanks
    39
    Thanked 1 Time in 1 Post

    Default

    Thanks John - I needed this too.
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •