Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

110
Vistas
To change SlideToShow dynamically slick slider

I'm using slick slider for WP project.

What I want to achieve is that when user click/swipe the slider, then the value of slidetoshow would be randomly generated between the number 1 and 2.

For instance, 1st swipe the value would be 1. 2nd swipe would be 2. 3rd swipe would be 2 or 1. and so on.

Current situation/behavior is that when I swipe them, then they show 1 or 2 images, then next swipe, they appear 2 images at first, but they skip immediately other images and they show only 1 or 2 images in the end.. I have no idea why they perform like this weird behavior...

any advice or comment I appreciate that. Thank you! :)

my actual code

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda