javascript - Drag and Drop DIV to any position within a cell -
i'm using redips drag , drop jquery plugin, allows me create draggable content snaps defined table , cells. need change bit in such way allows me drop element anywhere in cell, rather placing default @ end or beginning.
so still need functionality "snaps content grid" need have "left margin" within dropped cell. once div dropped in cell left margin or offset parent cell.
var marginleftafterdrop = $("#" + divid).position.left;
i can see using redips draggable feature highly suggest use plugin made jquery through link.
it highly customizable , extendable according need. moreover, highly supported community , plenty of developers using it.
Comments
Post a Comment