Results 1 to 2 of 2

Thread: Set Slide Duration for Ultimate Fade-In Slide Show Ver. 1.51

  1. #1
    Join Date
    Jan 2014
    Location
    East Tennessee
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Set Slide Duration for Ultimate Fade-In Slide Show Ver. 1.51

    1) Script Title: Ultimate Fade-In Slide Show

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem: I am using Ver. 1.51 Ultimate Fade-In Slide Show. I would like to have the slides sequence with different durations. I don't necessarily care about the transition time. I would like to know if this is possible and an example of the code to do this. Thank you!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The below mod does this, though for the latest version of the script (v2.4). Just use the modified .js file below, and then inside the initialization code, define an imagepauses[] option with the desired pauses (in milliseconds) for each image:

    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://www.dynamicdrive.com/dynamicindex4/pool.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
    		["http://www.dynamicdrive.com/dynamicindex4/cave.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
    		["http://www.dynamicdrive.com/dynamicindex4/fruits.jpg"],
    		["http://www.dynamicdrive.com/dynamicindex4/dog.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
    	],
    	imagepauses: [500, 3000, 500, 4000],
    	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: ""
    })
    Attached Files Attached Files
    DD Admin

Similar Threads

  1. Ultimate Fade-in slide show v2.1
    By logiclab in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 03-22-2010, 08:17 PM
  2. Ultimate Fade-in slide show v2.0
    By fchanes in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 12-18-2009, 10:22 AM
  3. Ultimate Fade-in slide show- show text descriptions?
    By bobvaz in forum Dynamic Drive scripts help
    Replies: 9
    Last Post: 06-07-2007, 03:27 PM
  4. Ultimate Fade-In slide show slide limit
    By RayCTX in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-31-2007, 07:13 AM
  5. Ultimate fade in slide show???
    By w00t_fatmike in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 06-07-2006, 07:42 AM

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
  •