Bootstrap carousel not autoplay

My work lately involves page carousel on a certain website called 333G, a company base on Australia. I used bootstrap framework along with options framework for wordpress in my theme. One of the specification I received is not to autoplay the carousel and let the user click the slides. I was doubtful with the bootstrap carousel as it will automatically slide. When you search the web all answers points to setting interval to a certain number. Example:

jQuery(document).ready(function(){ 
   jQuery("#carousel").carousel({
      interval: 2000
   });
});

Well this does not work. So I examine the code on what interval really means and find it how about setting it to false? 

jQuery(document).ready(function(){ 
   jQuery("#carousel").carousel({
      interval: false
   });

});

That's it, BINGO!!!

Try ARROW CHAT!!!


Comments

Popular Posts