Open daniellelecomte opened 5 years ago
Hello. You can call scroll method without animation after jcarousel initialization.
jcarousel
.on('jcarousel:reload jcarousel:create', function () {
...
})
.jcarousel() // initialization
.jcarousel('scroll', lindex, false); // call scroll without animation for setting initalized slide
This is covered here: https://sorgalla.com/jcarousel/docs/cookbook/custom-start-position.html
Hey there! Thanks for such a great tool!
Is it possible to set which item displays first on a responsive carousel? I tried adding scroll with no luck...
We are displaying sports scores and want to set the first item you see to be based upon the time of day by setting a var of 'lIndex' as noted in my code.
This is the staging site for reference: http://www.thesportsarena.net/staging/public_html/#skatesafescorescroller
Any help would be greatly appreciated. Thanks again!