Search code examples
jqueryjcarousel

jCarousel property


I am working with a customer on adjusting the speed of their logo carousel, but my knowledge of jQuery is limited. I've researched it a bit on here (stackoverflow) and in the Sorgolla documentation (http://sorgalla.com/projects/jcarousel/), but I cannot figure out how to add in these properties to the existing script. The customer would just like the time between scrolls lengthened, which I'm thinking is the 'auto' property?

Any help/guidance would be much appreciated


The script used in this carousel is as follows:

$(document).ready(function(){

  $('#mycarousel').css('visibility', 'visible');

}); 

An example can be found on the live site: Http://www.trustivo.com


Solution

  • I looked in the source of your page, and the code that actually starts the carousel looks like this:

    jQuery('#mycarousel').jcarousel({
        visible:6,
        auto: 4,
        scroll:6,
        wrap: 'circular',
        animation:"slow",
        initCallback: mycarousel_initCallback
    });
    

    The auto: 4 means scrolling happens every 4 seconds. Increase the number to make it scroll less frequently.