Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

131
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!