Answer the question
In order to leave comments, you need to log in
How to copy block from active jquery slider?
There is a slider
<a href="/" class="b-carousel-item zhk-item slider-item swiper-slide-active">
<div class="b-carousel-title">тест1</div>
</div></a>
<a href="/" class="b-carousel-item zhk-item slider-item">
<div class="b-carousel-title">тест1</div>
</div></a>
<a href="/" class="b-carousel-item zhk-item slider-item">
<div id="title">тест1</div>
</div></a>
Answer the question
In order to leave comments, you need to log in
In general, one page should not have the same id. and you have id="title" in each slide. replace with class
Ваше событие.function() {
$('#title1').text($('.swiper-slide-active #title').text());
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question