O
O
olya_0972019-10-17 21:44:25
JavaScript
olya_097, 2019-10-17 21:44:25

How to change slides?

That is, we pull the circle from the side - and the slides change
https://codepen.io/Olya097/pen/PooGjoa

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pashenka, 2019-10-18
@olya_097

You pushed plugins there... You need to see if the plugin responsible for drag-and-drop is able to give the coordinates of this very dragged element on the drag event. And check the intersection (well, or so within a square radius) with the known coordinates of the circles, and then, in fact, trigger the switch to the corresponding slide. This is easier to implement from scratch when you have full control than trying to cross plugins.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question