У меня есть полная страница карусели совы, и я пытаюсь выяснить, как перейти непосредственно от ссылки меню к конкретному слайду карусели совы. например, щелкнув ссылку / # section2, вы попадете в раздел 2 карусели.
Я попробовал какой-то код, который нашел в Google, но, похоже, ничего не работает.
<div class="process-carousel">
<section class="light-wrapper fullscreen">
<div class="col-md-9 content v-align-transform">
</p>
<div id="section1">
content here
</div>
<p>
</div>
</section>
<section class="bg-secondary fullscreen">
<div class="col-md-9 content v-align-transform">
<div id="section2">
content here
</div>
</span><br />
</div>
</section>
<section class="light-wrapper fullscreen">
<div class="col-md-9 content v-align-transform">
<div id="section3">
content here
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('.process-carousel').owlCarousel({
nav: true,
navText: ["","<i class='ti-angle-right'>"],
dots: false,
center: true,
loop:true,
responsive:{
0:{
items:1
}
}
});
});
</script>