Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
How to remove the slider when you trigger the event? - bug-code.com Q&A

How to remove the slider when you trigger the event?

0 like 0 dislike
30 views
Good day!
On the website connected Swiper and I would like to know it is possible to disable/enable click-through for example without reloading the page , while keeping the content slides ?
asked by | 30 views

2 Answers

0 like 0 dislike
MB just hide it then?
$("#slider").style.display = "none"
answered by
0 like 0 dislike
may be idiotic, but by clicking on the button, for example, to make the parent container of the slider is some sort of class like that
.hide { overflow: hidden; height: 0; }
answered by
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

12.3k users

24,788 questions
46,220 answers
0 comments
12,337 users