Is there a way to create a div that follows the mouse around when you are dragging something on your web site?
I want the div to only become visible when the user drags content that has been set to draggable.
I really just want a super simple and easy way to change the dragging item from just a ghost image to something different that I can style.
Thanks,
Ian
You can have a hidden div on your html body, then when dragging you can set the css ‘display’ property to ‘block’, and finally using the clientx and clienty properties of the mouse event with a little javascript to reposition the div.
Hope that helps.