Jssor Cant dim near by slides -
i'm using near slider, , wondering how go dimming nearby other 2 slides shown.

by default, 1 slide fill slides container.
but if set $slidewidth smaller 'slides' container width, there chance display more slides in slides container.
see following example,
<script> jquery(document).ready(function ($) { var options = { ... $slidewidth: 600, //[optional] width of every slide in pixels, default width of 'slides' container $cols: 2, //number of pieces display (the slideshow disabled if value set greater 1), default value 1 $align: 100, //the offset position park slide (this options applys when slideshow disabled). ... }; var jssor_slider1 = new $jssorslider$("slider1_container", options); }); </script> <div id="slider1_container" style="... width: 800px; ..."> <div u="slides" style="... width: 800px; ..."> ... </div> </div> reference: http://www.jssor.com/demos-jquery/nearby-image-partial-visible-slider.source.html
Comments
Post a Comment