Answer the question
In order to leave comments, you need to log in
How to drag and drop blocks into a container?
Hello, there is a list of divs, containers below, 4 pieces. How to drag the top relevant blocks into containers so that the blocks disappear and when it's over, a modal window comes out, like you are right by so many percent or "Hurrah! You are great." Move implemented using jquery ui. But I can not implement the removal of the block. What should I do, assign a number to each block, and when it gets into the container, write it down somewhere? Or with a switch? What to do? Tyk
Answer the question
In order to leave comments, you need to log in
In jquery ui, you can assign a handler function to the drag end event
in it, hide the element, count percentages, and so on.
look for Interaction Events Draggable
professorweb.ru/my/javascript/jquery/level4/4_12.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question