JQuery drag and Drop
Posted
by dremay
on Stack Overflow
See other posts from Stack Overflow
or by dremay
Published on 2010-05-13T04:55:16Z
Indexed on
2010/05/13
5:04 UTC
Read the original article
Hit count: 246
I wish to create an Interface to choose Multiple answers using Drag & Drop rather than CheckBox near to the answers. User can choose two types of answers (Real Answer and a Fake Answer). The User has Two Images (for Real & Fake) on the answer page. User can drag an Image and drop near to the selected answer. It is possible to change the selection by moving the "image and drop over some other answer".
I have used a "div formatted with an image" near to all answers, so user can drop the image (ie fake or real image) over this "div".
I have used JQuery to move the "image" and drop over the "div". Now I need add the code to the "div" (ie container used to hold the image) to identify which "image is placed over it" ie either "fake or real".
© Stack Overflow or respective owner