I am trying to detect Which image id="" was clicked ?

Joined
Jul 12, 2020
Messages
89
Reaction score
9
the original events for these were onmousedown, onmousemove, onmouseup and onmouseout.
seems to me when using drag events there should be an ondragstart, ondrag(to monitor movements) and ondragstop. you can check old dragdrop tutorials for the actual collection of events, try Jacascript Source he has some older ones and possibly updated ones using "drag" events.
 
Joined
May 21, 2012
Messages
44
Reaction score
0
Here is the most concise DnD I have ever see .
However , cursor positioning is a bit off .
Not sure HOW to fix that ,
Anyone ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top