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

Joined
Jul 12, 2020
Messages
89
Reaction score
10
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

No members online now.

Forum statistics

Threads
474,091
Messages
2,570,604
Members
47,223
Latest member
smithjens316

Latest Threads

Top