Results 1 to 3 of 3

Thread: Ultimate Fade-in slideshow won't resume auto, after manual advance

  1. #1
    Join Date
    Jun 2010
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow won't resume auto, after manual advance

    1) Script Title: Ultimate Fade-in slideshow

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

    3) Describe problem: Automatic slideshow won't resume after user manually advances slides. The only way to have automatic slideshow resume is to reload the page. See issue here http://www.purdue.edu/recsports/index.php

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That's how the show is designed. But I can see where on that page it would be good if it resumed. Add the highlighted to the on page init as shown:

    Code:
     . . . main_intramural_sand_volleyball_summer-2011.jpg", "http://www.purdue.edu/recsports/programs/intramural_sports/index.php", "", "Intramural Sports"],
    		
    		["/recsports/images/main_images/main_rsc_renovation_20110504.jpg", "http://www.purdue.edu/recsports/about_us/rsc_renovation/index.php", "", "Rec Sports Renovation"],
    		["/recsports/images/main_images/main_rsc_renovation_southeast_populated.jpg", "http://www.purdue.edu/recsports/about_us/rsc_renovation/index.php", "", "Concept Rendering-South East"]
    			
    		
    		//<--no trailing comma after very last image element!
    	],
    	displaymode: {type:'auto', pause:4000, cycles:0, wraparound:true, randomize:false},
    	persist: false, //remember lasted slide and recall within same session?
    	fadeduration: 500, //transition duration (milliseconds)
    	descreveal: "ondemand",
    	togglerid: "slideshowtoggler",
    	oninit: function(){
    		var dm = this.setting.displaymode, ufObj = this;
    		this.setting.$wrapperdiv.bind('mouseleave', function(){
    			if(dm.type !== 'auto'){
    				dm.type = 'auto';
    				ufObj.setting.playtimer = setTimeout(function(){ufObj.showslide('next');}, dm.pause) 
    			}
    		});
    	}
    })
    
    </script>
    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. #3
    Join Date
    Jun 2010
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    John,

    I appreciate your help and expertise!

    Thank you!

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
  •