hi. i'm very new in using javaScript. but i really need to use it in my project. i have a problem in dragging picture for online test, where i need to calculated the mark if the picture have been drag to the right box... pplez help me..
Dragging the picture can be done by using mouse events. Coming to validating the user choice, what you can do is when the user drags the picture, check the coordinates of the picture(X and Y) and compare them with the right box. I thinks it's clear.
Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
a bit of art, as a gift, that will fit in a stocking