I would like to connect two draggable divs using jsPlumb. However when I use jsPlumb.Draggable function only the endpoints become draggable (not the div itself). Here is the fiddle of what I what I am trying.
Asked
Active
Viewed 3,780 times
1 Answers
7
This seem to be working:
div.operation {
position: absolute;
}

cedric
- 111
- 4
-
something so simple...was this in the documentation? You would think that jsPlumb.draggable() would check style. – afreeland Dec 28 '12 at 15:59
-
it does weirdly not: i use it with jquery UI and it seems to use its "draggable" event. it is unclear to me, why it does not auto-set "position" as UI does. I guess there is a reason! – leosok Nov 03 '14 at 23:10
-
I have the same problem! However my div position is absolute? http://stackoverflow.com/questions/30767889/jsplumb-draggable-not-working – K-Dawg Jun 11 '15 at 04:58