Div Follow Mouse, lose position.
I want to prevent losing the position of the mouse , and as you can see in the video , it resets to the default during mouse movement instead of keeping the correct values . I created a mousemove event on the parent div to store the X and Y coordinates in variables . The zoom div uses these X and Y values to set its left and top positions . What would you recommend to ensure smooth movement of the zoom div ?