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.

link fiddle

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

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -