+ 11
Ops 🥺 I have a problem in Swiper js. Read the que carefully. [ Solved ]
Acctuly I want to make a navigation bar from where I can navigate thrugh full page. But let me tell that the whole page is in the form of swiper. So is it possible to make slides moveable to specific target using any button or link . Yes it shuld be of course possible but I dont know how to do this if any one have idea then please share it with that how can I do this Prefer the code below \/ https://code.sololearn.com/WCaZiL7JbwEu/?ref=app
3 odpowiedzi
+ 4
Read the docs:
https://swiperjs.com/api/#methods
link.addEventListener("click", function(){
mySwiper.slideTo(0, 500)
})
+ 3
It's ok, you are welcome.
+ 2
Thanks a lot Kevin ★ . I had not read it's full documentation. Thanks a lot for you help