Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

#dragdrop

  1. J

    JavaScript Drag and drop not working

    Okay so what I'd like to do is drag the dog food in the inventory slot onto the dog food bowls. Right now my code registers that the dog food is being dragged and it even knows that it's in inventory slot 0. Furthermore it knows that the dropzone (objZone4) has particular coordinates of...
  2. K

    HTML Does anyone know how to get the coordinates right in a drag drop image to canvas?

    I am trying to implement drag an image of a rock on to the canvas and at the moment I am just drawing circles where the event object tells me where the drop point is so I am not (yet) concerning myself about the dimensions of the image or where I grab on to it with the mouse. I am only...
Back
Top Bottom