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

127
Vistas
Javascript Pagination, Skip 5 each

There is a pagination behavior error on the current page. I hope that the movement goes well. I want skip 5 each pagination

current move error. I want help.

/* Pagination Button Event */
let curpager;
Array.prototype.forEach.call(pagepagers, function (pager) {
  pager.addEventListener('click', function (e) {
    e.preventDefault();
    curpager = document.querySelector('.pagerActive');
    curpager.classList.remove('pagerActive');
    
    curpager = this;
    this.classList.add('pagerActive');

    curSlide.classList.remove('slideActive');
    curIndex = Number(this.getAttribute('data-index'));
    curSlide = slideContents[curIndex];
    curSlide.classList.add('slideActive');
    slideList.style.transition = slideSpeed + "ms";
    slideList.style.transform = "translate3d(-" + (slideWidth * (curIndex +4)) + "px, 0px, 0px)";
  });
});         

Can you tell me solution?

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