A
A
Alice7772018-02-07 15:42:45
css
Alice777, 2018-02-07 15:42:45

How to correctly implement Slick slider instead of menu items in tabs (due to clones, the slider index gets lost)?

When I remove the slider everything works correctly (the code for the tabs is correct). However, the slider creates clones and the number of slide items, of course, increases, which is why the tabs do not work correctly.
Which way to look? How to solve this problem?
https://jsfiddle.net/5ox31m2a/1307/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
imhuman, 2018-02-07
@Alice777

.index()replace with.attr('index')

F
Froggyweb, 2018-02-07
@Froggyweb

Slick Has a Slider Syncing Mode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question