L
L
lexchz2016-07-17 18:40:47
Iron
lexchz, 2016-07-17 18:40:47

How to unpin block from parent inside slider?

There is a slider, in each slide there is a picture and a caption to it. It is necessary to make sure that this signature in the DOM is removed from the block of the current slide, but that it naturally changes when changing slides. Tried like this:

var dsc = $('.slick-current .project-desc').detach();
$('.projects').append(dsc);


But in this case, only the label of the first active slide is detached, and then when the active slide is changed, it does not change. How to make it change for all slides?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman Lee, 2016-02-08
@xander90

I had the same problem the other day, Khan's disk. bad sectors are available! Conclusion = throw away!

E
Evgeny Kharlamov, 2016-02-12
@Simillar

I would try to play around with it, if there is time, send me the latest sources here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question