Jssor non-jquery slider. several sliders on one page

Is there a way to place multiple sliders on the same page? Thanks you

0
source share
1 answer

Given 2 sliders on one page, the first is "slider1", the second is "slider2"

<script> jssor_slider1_starter = function (containerId) { ... }; jssor_slider2_starter = function (containerId) { ... }; </script> <div id="slider1_container" style="position: relative; top: 0px; left: 0px; width: 600px; height: 300px;"> ... <script> jssor_slider1_starter('slider1_container'); </script> </div> <div id="slider2_container" style="position: relative; top: 0px; left: 0px; width: 600px; height: 300px;"> ... <script> jssor_slider2_starter('slider2_container'); </script> </div> 
+2
source

Source: https://habr.com/ru/post/1201120/


All Articles