-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Div back to original start position #374
Comments
Hi, thanks for the fast answer. :) I have another question is it possible, when 2 dropzones with 2 different classes are right to each other, that there will appear a pop-up? I hope to hear from you soon! |
I don't understand what you mean. Could you explain again perhaps with code samples or a quick diagram? |
I've made a quick diagram in Photoshop. The snap position works. (something like this http://jsfiddle.net/j9Ump/67/) This is my script
|
One way you could do this is to increment a counter every time an item is dropped into the correct slot such that if incrementing the counter makes it equal to the total number of slots, you know that all the items were dropped in the correct places. |
Hi,
Amazing job on the interact.js!
Truly enjoying it :)
I have the following question:
How do you make a div (animated) back to it's original position when it's not dropped into a dropzone?
And how do you define it's position?
I used the drag/drop script from the original interact.js website.
Here is a link http://www.nadiaweijers.nl/Interact.js/
The text was updated successfully, but these errors were encountered: