PDA

View Full Version : FadeSlideShow prev and next buttons donīt work



AnneHolte
09-02-2011, 07:07 PM
1) Script Title: FadeSlideShow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.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.

azoomer
09-02-2011, 07:31 PM
remember the toggler id in this part of the script:


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:


#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

AnneHolte
09-02-2011, 07:56 PM
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

azoomer
09-02-2011, 08:14 PM
That's just the way the script is configured. What I tried was to change this ( "manual" to "auto"):


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

AnneHolte
09-02-2011, 08:23 PM
Thanks again. That was exactly what I was after!