Open in certain photo, slick carousel

1

Is it possible that when you open slick carousel , that particular photo is in focus? some sort of index mapping or even the name, if not, is there any other drag and drop slide that does this? example ...

  <div class="your-class">
    <img src="img1">
    <img src="img2"> <!-- abrir aqui -->
    <img src="img3">
  </div>

   $(document).ready(function(){
      $('.your-class').slick({
        setting-name: setting-value
      });
    });
    
asked by anonymous 11.09.2017 / 16:24

1 answer

1

Use the initialSlide property to set up the initial slide.

Also note the library's documentation: Documentation

    
11.09.2017 / 16:48