+ 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

16th Oct 2020, 6:21 AM
Ayush Kumar
Ayush Kumar - avatar
3 Answers
+ 4
Read the docs: https://swiperjs.com/api/#methods link.addEventListener("click", function(){ mySwiper.slideTo(0, 500) })
16th Oct 2020, 7:05 AM
Kevin ★
+ 3
It's ok, you are welcome.
16th Oct 2020, 8:01 AM
Kevin ★
+ 2
Thanks a lot Kevin ★ . I had not read it's full documentation. Thanks a lot for you help
16th Oct 2020, 7:58 AM
Ayush Kumar
Ayush Kumar - avatar