Results 1 to 5 of 5

Thread: FadeSlideShow prev and next buttons donīt work

  1. #1
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default FadeSlideShow prev and next buttons donīt work

    1) Script Title: FadeSlideShow

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

    3) Describe problem:
    On this site www.takenote.dk/test/galleri.html I have the slideshow. But for some reason those prev and next buttons wonīt work... I just cannot figure out why.
    I use this as well on this site www.imcc-masanga.dk/billeder.html and here there is no problem.
    I have checked this in Safari and Firefox - itīs the same.

    Why oh why will this not work?

    Thanks.

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    remember the toggler id in this part of the script:
    Code:
    displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
    			persist: true, //remember last viewed slide and recall within same session?
    			fadeduration: 500, //transition duration (milliseconds)
    			descreveal: "ondemand",
    			togglerid: "fadeshowtoggler"
    			})
    and by the way: it seems like this part of the css is causing some trouble:
    Code:
    #content_ss{
    	float:left;
    	width:600px;
    	height:100%;
    	padding: 30px 0 0 10px;
    	overflow:auto;
    	}
    I may work better if you just delete the height and the overflow rules
    Last edited by azoomer; 09-02-2011 at 07:48 PM.

  3. The Following User Says Thank You to azoomer For This Useful Post:

    AnneHolte (09-02-2011)

  4. #3
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you!
    Iīm not used to use .js

    I see that deleting the two lines resolved my next question - why the "this pic/all pics" didnīt show, now it shows

    By the way - when you have clicked prev or next, why doesīt the slideshow start again?

    Once again thanks!
    Anne

  5. #4
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    That's just the way the script is configured. What I tried was to change this ( "manual" to "auto"):
    Code:
    fadeSlideShow.prototype={
    
    	navigate:function(keyword){
    		var setting=this.setting
    		clearTimeout(setting.playtimer)
    		if (setting.displaymode.type=="auto"){ //in auto mode
    			setting.displaymode.type="auto" //switch to "manual" mode when nav buttons are clicked on
    			setting.displaymode.wraparound=true //set wraparound option to true
    		}
    and that seems to make the slideshow continue running, if that is what you are after. It is found in the fadeslideshow.js file
    Last edited by azoomer; 09-02-2011 at 08:22 PM. Reason: typo

  6. #5
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks again. That was exactly what I was after!

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
  •