Home › Forums › JavaScript › How to drag point (circle) and move it to sides › Reply To: How to drag point (circle) and move it to sides
October 23, 2014 at 9:43 am
#186930
nixnerd
Participant
for some stylistic pop… you’ll probably want to have the circle immediately appear in the DOM and change as the user drags the mouse.
I recommend console logging the mouse positions in question to make sure your logic is good. Then… start playing around with using those numbers to make a div as your circle. This shouldn’t take more than a few hours with jQuery.