Jssor thumbnail Corner Case Issue -
Jssor thumbnail Corner Case Issue -
i have implemented jssor slider , works discovered corner case has me puzzled.
the next variables involved $startindex, $displaypieces, , $parkingposition.
when $startindex zero, works correctly. when number of images greater $displaypieces, works correctly. that, mean images displayed , current image centered in thumb display set $parkingposition.
when number of images less or equal $displaypieces , $startindex not zero, of thumbs hidden off left - if $parkingposition set zero.the thumbs can dragged position , works on, that's not want. here code:
var options = { $autoplay: false, $autoplayinterval: 4500, $pauseonhover: 3, //[optional] whether pause when mouse on if slider auto playing, 0 no pause, 1 pause desktop, 2 pause touch device, 3 pause desktop , touch device, default value 1 $dragorientation: 3, $loop: false, $arrowkeynavigation: true, $slideduration: 300, $fillmode: 1, $lazyloading: 5, $startindex: 3, $slideshowoptions: { $class: $jssorslideshowrunner$, $transitions: _slideshowtransitions, $transitionsorder: 1, $showlink: true }, $arrownavigatoroptions: { $class: $jssorarrownavigator$, $chancetoshow: 2 }, $thumbnailnavigatoroptions: { $class: $jssorthumbnailnavigator$, $chancetoshow: 2, $actionmode: 1, $spacingx: 10, $displaypieces: 8, $parkingposition: 470 } }; var jssor_slider1 = new $jssorslider$("slider1_container", options);
jssor
Comments
Post a Comment