Hi All,
I've run into an interesting question I hope someone can point me towards an answer about. This is probably only tangential to CKeditor, though.
A user starts dragging a draggable jquery object around on a web page. Assuming that the source of the page is a droppable I can be informed exactly where the object is dropped.
The question is: how to know exactly where in the html the object is dropped?
This object could have a bit of text, or a widget I'm creating in it. How can I turn the x,y location of a drop into a discrete point in the html of the receiving <div>?
Thanks!
-Ken
I've run into an interesting question I hope someone can point me towards an answer about. This is probably only tangential to CKeditor, though.
A user starts dragging a draggable jquery object around on a web page. Assuming that the source of the page is a droppable I can be informed exactly where the object is dropped.
The question is: how to know exactly where in the html the object is dropped?
This object could have a bit of text, or a widget I'm creating in it. How can I turn the x,y location of a drop into a discrete point in the html of the receiving <div>?
Thanks!
-Ken