views:

304

answers:

1

Hello I am intergrating the easyslider plugin into my website, I was hoping somebody will have come across my problem, I am using the paginate version of it so I can navigate in the slideshow to any image, however using the paginator then pauses the slideshow, does any one know how I can stop it from pausing and just carry one from the selected images.

The source code is available here

A: 

jeerose is correct, but I will attempt to help you anyway.

The problem is how the plugin works, mostly these lines:

if(options.auto && dir=="next" && !clicked){
    timeout = setTimeout(function(){
        animate("next",false);
    },diff*options.speed+options.pause);
};

What this is doing, is if you cliked on a buttons like next, back, or in your case 1,2,3,4,etc... then it sets clicked as true, and won't run the animate function automatically any longer. There are a number of ways to fix this including writing your own wrapper plugin that defines the easySlider and has implements it's own click handlers, sending false for clicked instead of true like they do currently. The other option is to just edit the source file itself. Change the code I have listed above to:

 if(options.auto){
    timeout = setTimeout(function(){
        animate("next",false);
    },diff*options.speed+options.pause);
 };

This will make it so the auto play never gets disabled provided you have set "auto" to true when creating your easySlider.

sberry2A
thanks sberry2a that half works, however it scrolls through to the begin and shows no image for about 10 seconds did that solution work for you?
sico87