0

I know only CSS and little to no Javascript so I need some help here. I have 2 pikachoose sliders:

$(document).ready(
      function (){
          $("#pikame").PikaChoose();
          $("#pikame2").PikaChoose();
});

Both are autosliding as is set in javascript:

(function ($) {
     var defaults = {
        autoPlay: true,
        speed: 5000,

How can I set #pikame2 to stop autoslide? I guess I have to set autoplay false or speed to 100k, but I don't know how to specifiy that it would only do that to the 2nd slider. Thanks!

2 Answers 2

2

You can pass the options in each call of the plugin, like this:

$("#pikame").PikaChoose({autoPlay:true});
$("#pikame2").PikaChoose({autoPlay:false});
0
1
$("#pikame2").PikaChoose ({autoplay: false})

You can pass options into each init call.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.