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

153
Views
Move between tabs with slick carusels

I have 3 similar tabs with slick carousels, but different content. When I move to another tab carousel becomes slim. Tab changes just by adding class hidden(display:none). Tried bootstrap tabs, the same problem. Before changing tab, after changing tab.

Example https://jsfiddle.net/vzqp5k3e/6/

Forgot to say. After slide changes carousel behave normal.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You have to destroy the slick object then reinitialize it.

  $('.my-carousel').slick('destroy');
  $('#myCarousel'+nbr).slick({
    infinite: true,
    slidesToShow: 3,
    slidesToScroll: 1,
    arrows: false,
    autoplay: true,
    autoplaySpeed: 3000});

eg. https://jsfiddle.net/9r63vkqa/

about 4 years ago · Juan Pablo Isaza Report
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!